This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gdbsupport configure 1.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ /home/buildroot/autobuild/instance-3/output-1/build/gdb-10.2/gdbsupport/configure --srcdir=../../gdbsupport --cache-file=./config.cache --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --without-uiout --disable-gdbtk --without-x --disable-sim --disable-binutils --disable-install-libbfd --disable-ld --disable-gas --disable-gprof --without-included-gettext --disable-werror --enable-static --without-mpfr --disable-gdb --without-curses --enable-gdbserver --disable-tui --without-python --with-expat --with-libexpat-prefix=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr --without-lzma --with-zlib --program-transform-name=s&^&& --disable-option-checking --build=x86_64-pc-linux-gnu --host=riscv64-buildroot-linux-musl --target=riscv64-buildroot-linux-musl ## --------- ## ## Platform. ## ## --------- ## hostname = gcc160.bak.milne.osuosl.org uname -m = x86_64 uname -r = 4.9.0-16-amd64 uname -s = Linux uname -v = #1 SMP Debian 4.9.272-2 (2021-07-19) /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin PATH: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2649: creating cache ./config.cache configure:2764: checking build system type configure:2778: result: x86_64-pc-linux-gnu configure:2798: checking host system type configure:2811: result: riscv64-buildroot-linux-musl configure:2831: checking target system type configure:2844: result: riscv64-buildroot-linux-musl configure:2872: checking whether to enable maintainer-specific portions of Makefiles configure:2881: result: no configure:2939: checking for a BSD-compatible install configure:3007: result: /usr/bin/install -c configure:3018: checking whether build environment is sane configure:3073: result: yes configure:3132: checking for riscv64-buildroot-linux-musl-strip configure:3162: result: no configure:3172: checking for strip configure:3188: found /usr/bin/strip configure:3199: result: strip configure:3211: WARNING: using cross tools not prefixed with host triplet configure:3224: checking for a thread-safe mkdir -p configure:3263: result: /bin/mkdir -p configure:3270: checking for gawk configure:3297: result: gawk configure:3308: checking whether /usr/bin/make sets $(MAKE) configure:3330: result: yes configure:3359: checking whether /usr/bin/make supports nested variables configure:3376: result: yes configure:3513: checking whether /usr/bin/make supports nested variables configure:3530: result: yes configure:3550: checking for riscv64-buildroot-linux-musl-gcc configure:3577: result: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc configure:3846: checking for C compiler version configure:3855: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:3866: $? = 0 configure:3855: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/lib/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3866: $? = 1 configure:3855: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:3866: $? = 1 configure:3855: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3866: $? = 1 configure:3886: checking whether the C compiler works configure:3908: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:3912: $? = 0 configure:3960: result: yes configure:3963: checking for C compiler default output file name configure:3965: result: a.out configure:3971: checking for suffix of executables configure:3978: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:3982: $? = 0 configure:4004: result: configure:4026: checking whether we are cross compiling configure:4064: result: yes configure:4069: checking for suffix of object files configure:4091: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:4095: $? = 0 configure:4116: result: o configure:4120: checking whether we are using the GNU C compiler configure:4139: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:4139: $? = 0 configure:4148: result: yes configure:4157: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc accepts -g configure:4177: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -g conftest.c >&5 configure:4177: $? = 0 configure:4218: result: yes configure:4235: checking for /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:4298: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:4298: $? = 0 configure:4311: result: none needed configure:4336: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc understands -c and -o together configure:4358: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4361: $? = 0 configure:4358: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4361: $? = 0 configure:4373: result: yes configure:4401: checking for style of include used by /usr/bin/make configure:4429: result: GNU configure:4455: checking dependency style of /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc configure:4566: result: none configure:4693: checking for C++ compiler version configure:4702: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ --version >&5 riscv64-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:4713: $? = 0 configure:4702: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/riscv64-linux-g++.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/lib/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:4713: $? = 1 configure:4702: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -V >&5 riscv64-linux-g++.br_real: error: unrecognized command-line option '-V' configure:4713: $? = 1 configure:4702: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -qversion >&5 riscv64-linux-g++.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:4713: $? = 1 configure:4717: checking whether we are using the GNU C++ compiler configure:4736: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.cpp >&5 configure:4736: $? = 0 configure:4745: result: yes configure:4754: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ accepts -g configure:4774: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -g conftest.cpp >&5 configure:4774: $? = 0 configure:4815: result: yes configure:4840: checking dependency style of /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ configure:4951: result: none configure:4969: checking for riscv64-buildroot-linux-musl-ranlib configure:4996: result: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-ranlib configure:5065: checking how to run the C preprocessor configure:5096: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:5096: $? = 0 configure:5110: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5110: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | /* end confdefs.h. */ | #include configure:5135: result: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E configure:5155: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:5155: $? = 0 configure:5169: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5169: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | /* end confdefs.h. */ | #include configure:5198: checking for grep that handles long lines and -e configure:5256: result: /bin/grep configure:5261: checking for egrep configure:5323: result: /bin/grep -E configure:5328: checking for ANSI C header files configure:5348: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5348: $? = 0 configure:5432: result: yes configure:5445: checking for sys/types.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for sys/stat.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for stdlib.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for string.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for memory.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for strings.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for inttypes.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for stdint.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5445: checking for unistd.h configure:5445: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5445: $? = 0 configure:5445: result: yes configure:5458: checking minix/config.h usability configure:5458: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:54:10: fatal error: minix/config.h: No such file or directory 54 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:5458: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:5458: result: no configure:5458: checking minix/config.h presence configure:5458: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:21:10: fatal error: minix/config.h: No such file or directory 21 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:5458: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:5458: result: no configure:5458: checking for minix/config.h configure:5458: result: no configure:5479: checking whether it is safe to define __EXTENSIONS__ configure:5497: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5497: $? = 0 configure:5504: result: yes configure:5531: checking for dlfcn.h configure:5531: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5531: $? = 0 configure:5531: result: yes configure:5544: checking for windows.h configure:5544: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:61:10: fatal error: windows.h: No such file or directory 61 | #include | ^~~~~~~~~~~ compilation terminated. configure:5544: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | | #include configure:5544: result: no configure:5571: checking for library containing dlsym configure:5602: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5602: $? = 0 configure:5619: result: none required configure:5691: checking for special C compiler options needed for large files configure:5736: result: no configure:5742: checking for _FILE_OFFSET_BITS value needed for large files configure:5767: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:5767: $? = 0 configure:5799: result: no configure:5893: checking for riscv64-buildroot-linux-musl-gcc configure:5920: result: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc configure:6189: checking for C compiler version configure:6198: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc --version >&5 riscv64-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 10.2.0 Copyright (C) 2020 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:6209: $? = 0 configure:6198: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/opt/riscv64--musl--bleeding-edge-2020.08-1 --sysconfdir=/opt/riscv64--musl--bleeding-edge-2020.08-1/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpc=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-mpfr=/opt/riscv64--musl--bleeding-edge-2020.08-1 --with-pkgversion='Buildroot 2020.08-14-ge5a2a90' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libmpx --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++,fortran --with-build-time-tools=/opt/riscv64--musl--bleeding-edge-2020.08-1/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Buildroot 2020.08-14-ge5a2a90) COMPILER_PATH=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/lib/:/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:6209: $? = 1 configure:6198: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:6209: $? = 1 configure:6198: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:6209: $? = 1 configure:6213: checking whether we are using the GNU C compiler configure:6241: result: yes configure:6250: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc accepts -g configure:6311: result: yes configure:6328: checking for /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:6404: result: none needed configure:6429: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc understands -c and -o together configure:6466: result: yes configure:6485: checking dependency style of /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc configure:6596: result: none configure:6625: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ supports C++11 features by default configure:6919: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.cpp >&5 configure:6919: $? = 0 configure:6926: result: yes configure:7611: checking whether NLS is requested configure:7614: result: no configure:7671: checking for long long configure:7671: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7671: $? = 0 configure:7671: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:24: error: expected expression before ')' token 64 | if (sizeof ((long long))) | ^ configure:7671: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:7671: result: yes configure:7682: checking size of long long configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7687: $? = 0 configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:65:12: error: size of array 'test_array' is negative 65 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:7687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 HAVE_LONG_LONG 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:65:12: error: size of array 'test_array' is negative 65 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:7687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 HAVE_LONG_LONG 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:65:12: error: size of array 'test_array' is negative 65 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:7687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 HAVE_LONG_LONG 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:65:12: error: size of array 'test_array' is negative 65 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:7687: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 HAVE_LONG_LONG 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7687: $? = 0 configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7687: $? = 0 configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7687: $? = 0 configure:7687: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7687: $? = 0 configure:7701: result: 8 configure:7715: checking whether basename is declared configure:7715: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7715: $? = 0 configure:7715: result: yes configure:7725: checking whether ffs is declared configure:7725: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7725: $? = 0 configure:7725: result: yes configure:7735: checking whether asprintf is declared configure:7735: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7735: $? = 0 configure:7735: result: yes configure:7745: checking whether vasprintf is declared configure:7745: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7745: $? = 0 configure:7745: result: yes configure:7755: checking whether snprintf is declared configure:7755: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7755: $? = 0 configure:7755: result: yes configure:7765: checking whether vsnprintf is declared configure:7765: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7765: $? = 0 configure:7765: result: yes configure:7776: checking whether strtol is declared configure:7776: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7776: $? = 0 configure:7776: result: yes configure:7786: checking whether strtoul is declared configure:7786: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7786: $? = 0 configure:7786: result: yes configure:7796: checking whether strtoll is declared configure:7796: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7796: $? = 0 configure:7796: result: yes configure:7806: checking whether strtoull is declared configure:7806: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7806: $? = 0 configure:7806: result: yes configure:7817: checking whether strverscmp is declared configure:7817: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7817: $? = 0 configure:7817: result: yes configure:7829: checking for size_t configure:7829: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7829: $? = 0 configure:7829: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:77:21: error: expected expression before ')' token 77 | if (sizeof ((size_t))) | ^ configure:7829: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:7829: result: yes configure:7846: checking for stdlib.h configure:7846: result: yes configure:7846: checking for unistd.h configure:7846: result: yes configure:7846: checking for sys/param.h configure:7846: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7846: $? = 0 configure:7846: result: yes configure:7863: checking for pid_t configure:7863: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:7863: $? = 0 configure:7863: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:20: error: expected expression before ')' token 80 | if (sizeof ((pid_t))) | ^ configure:7863: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((pid_t))) | return 0; | ; | return 0; | } configure:7863: result: yes configure:7874: checking for a sed that does not truncate output configure:7938: result: /bin/sed configure:7983: checking for ld used by GCC configure:8046: result: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-ld configure:8053: checking if the linker (/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-ld) is GNU ld GNU ld (GNU Binutils) 2.34 configure:8065: result: yes configure:8071: checking for shared library run path origin configure:8084: result: done configure:8105: checking for ANSI C header files configure:8209: result: yes configure:8219: checking for working alloca.h configure:8236: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8236: $? = 0 configure:8244: result: yes configure:8252: checking for alloca configure:8289: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8289: $? = 0 configure:8297: result: yes configure:8415: checking for nl_langinfo and CODESET configure:8431: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8431: $? = 0 configure:8440: result: yes configure:8452: checking linux/perf_event.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking linux/perf_event.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for linux/perf_event.h configure:8452: result: yes configure:8452: checking locale.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking locale.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for locale.h configure:8452: result: yes configure:8452: checking for memory.h configure:8452: result: yes configure:8452: checking signal.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking signal.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for signal.h configure:8452: result: yes configure:8452: checking sys/resource.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking sys/resource.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for sys/resource.h configure:8452: result: yes configure:8452: checking sys/socket.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking sys/socket.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for sys/socket.h configure:8452: result: yes configure:8452: checking sys/un.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking sys/un.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for sys/un.h configure:8452: result: yes configure:8452: checking sys/wait.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking sys/wait.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for sys/wait.h configure:8452: result: yes configure:8452: checking thread_db.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:89:10: fatal error: thread_db.h: No such file or directory 89 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:8452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:8452: result: no configure:8452: checking thread_db.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:56:10: fatal error: thread_db.h: No such file or directory 56 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:8452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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 | /* end confdefs.h. */ | #include configure:8452: result: no configure:8452: checking for thread_db.h configure:8452: result: no configure:8452: checking wait.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 In file included from conftest.c:89: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/wait.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking wait.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c In file included from conftest.c:56: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/wait.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for wait.h configure:8452: result: yes configure:8452: checking termios.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking termios.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for termios.h configure:8452: result: yes configure:8452: checking for dlfcn.h configure:8452: result: yes configure:8452: checking linux/elf.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking linux/elf.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for linux/elf.h configure:8452: result: yes configure:8452: checking proc_service.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:93:10: fatal error: proc_service.h: No such file or directory 93 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:8452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:8452: result: no configure:8452: checking proc_service.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:60:10: fatal error: proc_service.h: No such file or directory 60 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:8452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | /* end confdefs.h. */ | #include configure:8452: result: no configure:8452: checking for proc_service.h configure:8452: result: no configure:8452: checking poll.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking poll.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for poll.h configure:8452: result: yes configure:8452: checking sys/poll.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 In file included from conftest.c:94: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking sys/poll.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c In file included from conftest.c:61: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for sys/poll.h configure:8452: result: yes configure:8452: checking sys/select.h usability configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking sys/select.h presence configure:8452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:8452: $? = 0 configure:8452: result: yes configure:8452: checking for sys/select.h configure:8452: result: yes configure:8466: checking for getpagesize configure:8466: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8466: $? = 0 configure:8466: result: yes configure:8475: checking for working mmap configure:8632: result: no configure:8643: checking vfork.h usability configure:8643: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:97:10: fatal error: vfork.h: No such file or directory 97 | #include | ^~~~~~~~~ compilation terminated. configure:8643: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:8643: result: no configure:8643: checking vfork.h presence configure:8643: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:64:10: fatal error: vfork.h: No such file or directory 64 | #include | ^~~~~~~~~ compilation terminated. configure:8643: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | /* end confdefs.h. */ | #include configure:8643: result: no configure:8643: checking for vfork.h configure:8643: result: no configure:8656: checking for fork configure:8656: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:87:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 87 | char fork (); | ^~~~ configure:8656: $? = 0 configure:8656: result: yes configure:8656: checking for vfork configure:8656: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8656: $? = 0 configure:8656: result: yes configure:8666: checking for working fork configure:8698: result: cross configure:8714: WARNING: result yes guessed because of cross compilation configure:8719: checking for working vfork configure:8829: result: yes configure:8859: checking for fdwalk configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccWhxWU6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fdwalk' collect2: error: ld returned 1 exit status configure:8859: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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 declares fdwalk. | For example, HP-UX 11i declares gettimeofday. */ | #define fdwalk innocuous_fdwalk | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char fdwalk (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #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:8859: result: no configure:8859: checking for getrlimit configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for pipe configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for pipe2 configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for poll configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for socketpair configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for sigaction configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for ptrace64 configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccpu9zej.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ptrace64' collect2: error: ld returned 1 exit status configure:8859: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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 declares ptrace64. | For example, HP-UX 11i declares gettimeofday. */ | #define ptrace64 innocuous_ptrace64 | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ptrace64 (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #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:8859: result: no configure:8859: checking for sbrk configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for setns configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for sigaltstack configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for sigprocmask configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for setpgid configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for setpgrp configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for getrusage configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8859: checking for getauxval configure:8859: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8859: $? = 0 configure:8859: result: yes configure:8869: checking whether ADDR_NO_RANDOMIZE is declared configure:8869: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8869: $? = 0 configure:8869: result: yes configure:8901: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8901: $? = 0 configure:8943: checking whether strstr is declared configure:8943: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8943: $? = 0 configure:8943: result: yes configure:8959: checking for struct stat.st_blocks configure:8959: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8959: $? = 0 configure:8959: result: yes configure:8968: checking for struct stat.st_blksize configure:8968: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:8968: $? = 0 configure:8968: result: yes configure:8979: checking for library containing kinfo_getfile configure:9010: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc2hMNtW.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:9010: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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:9010: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c -lutil >&5 /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccOE5SgZ.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:9010: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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:9010: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c -lutil-freebsd >&5 /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: cannot find -lutil-freebsd collect2: error: ld returned 1 exit status configure:9010: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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:9027: result: no configure:9229: checking whether /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc is Clang configure:9254: result: no configure:9377: checking whether pthreads work with -pthread configure:9471: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -pthread conftest.c >&5 configure:9471: $? = 0 configure:9480: result: yes configure:9499: checking for joinable pthread attribute configure:9517: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -pthread conftest.c >&5 configure:9517: $? = 0 configure:9525: result: PTHREAD_CREATE_JOINABLE configure:9539: checking whether more special flags are required for pthreads configure:9552: result: no configure:9560: checking for PTHREAD_PRIO_INHERIT configure:9576: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -pthread conftest.c >&5 configure:9576: $? = 0 configure:9585: result: yes configure:9690: checking for std::thread configure:9707: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.cpp >&5 configure:9707: $? = 0 configure:9714: result: yes configure:9722: checking for pthread_sigmask configure:9722: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -o conftest -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.cpp >&5 configure:9722: $? = 0 configure:9722: result: yes configure:9722: checking for pthread_setname_np configure:9722: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -o conftest -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.cpp >&5 configure:9722: $? = 0 configure:9722: result: yes configure:9747: checking for sigsetjmp configure:9765: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:9765: $? = 0 configure:9772: result: yes configure:9788: checking whether to use intel pt configure:9790: result: auto configure:9807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:9807: $? = 0 configure:10247: checking for libipt configure:10266: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c -lipt >&5 conftest.c:92:10: fatal error: intel-pt.h: No such file or directory 92 | #include "intel-pt.h" | ^~~~~~~~~~~~ compilation terminated. configure:10266: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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:10276: result: no configure:10303: WARNING: libipt is missing or unusable; some features may be unavailable. configure:10350: checking sys/procfs.h usability configure:10350: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10350: $? = 0 configure:10350: result: yes configure:10350: checking sys/procfs.h presence configure:10350: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:10350: $? = 0 configure:10350: result: yes configure:10350: checking for sys/procfs.h configure:10350: result: yes configure:10362: checking for gregset_t in sys/procfs.h configure:10380: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10380: $? = 0 configure:10394: result: yes configure:10398: checking for fpregset_t in sys/procfs.h configure:10416: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10416: $? = 0 configure:10430: result: yes configure:10434: checking for prgregset_t in sys/procfs.h configure:10452: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10452: $? = 0 configure:10466: result: yes configure:10470: checking for prfpregset_t in sys/procfs.h configure:10488: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10488: $? = 0 configure:10502: result: yes configure:10506: checking for prgregset32_t in sys/procfs.h configure:10524: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:104:1: error: unknown type name 'prgregset32_t'; did you mean 'prgregset_t'? 104 | prgregset32_t avar | ^~~~~~~~~~~~~ | prgregset_t configure:10524: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | /* end confdefs.h. */ | | #define _SYSCALL32 | #include | int | main () | { | prgregset32_t avar | ; | return 0; | } configure:10538: result: no configure:10542: checking for lwpid_t in sys/procfs.h configure:10560: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10560: $? = 0 configure:10574: result: yes configure:10578: checking for psaddr_t in sys/procfs.h configure:10596: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10596: $? = 0 configure:10610: result: yes configure:10614: checking for elf_fpregset_t in sys/procfs.h configure:10632: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10632: $? = 0 configure:10646: result: yes configure:10698: checking sys/ptrace.h usability configure:10698: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 configure:10698: $? = 0 configure:10698: result: yes configure:10698: checking sys/ptrace.h presence configure:10698: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c configure:10698: $? = 0 configure:10698: result: yes configure:10698: checking for sys/ptrace.h configure:10698: result: yes configure:10698: checking ptrace.h usability configure:10698: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c:135:10: fatal error: ptrace.h: No such file or directory 135 | #include | ^~~~~~~~~~ compilation terminated. configure:10698: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:10698: result: no configure:10698: checking ptrace.h presence configure:10698: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:102:10: fatal error: ptrace.h: No such file or directory 102 | #include | ^~~~~~~~~~ compilation terminated. configure:10698: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 configure:10698: result: no configure:10698: checking for ptrace.h configure:10698: result: no configure:10721: checking return type of ptrace configure:10737: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:114:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration 114 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~~~~~~~~~~~ conftest.c:114:13: error: conflicting types for 'ptrace' 114 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~ In file included from conftest.c:105: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10737: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | extern long ptrace (enum __ptrace_request, ...); | ; | return 0; | } configure:10751: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:114:12: error: conflicting types for 'ptrace' 114 | extern int ptrace (); | ^~~~~~ In file included from conftest.c:105: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10751: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | extern int ptrace (); | ; | return 0; | } configure:10760: result: long configure:10768: checking types of arguments for ptrace configure:10785: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:115:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration 115 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~~~~~~~~~~~ conftest.c:115:13: error: conflicting types for 'ptrace' 115 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10785: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | extern long ptrace (enum __ptrace_request, ...); | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, caddr_t, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, int, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, long, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, pid_t, void *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, pid_t, void *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, caddr_t, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, int, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, long, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, int, void *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, int, void *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, caddr_t, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, int, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, long, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (int, long, void *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (int, long, void *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, caddr_t, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, int, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, long, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, pid_t, void *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, pid_t, void *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, caddr_t, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, int, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, long, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, int, void *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, int, void *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int *, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, caddr_t, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, int, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, int, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, long, void *, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, int, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, int, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, int, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, int, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, int, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, int, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, long); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, long, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, long, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, long, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, long, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, long, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, long, long); | | ; | return 0; | } configure:10807: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, void *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, void *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, void *, int *); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, void *, int *); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, void *, int); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, void *, int); | | ; | return 0; | } configure:10827: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:117:3: error: conflicting types for 'ptrace' 117 | ptrace (long, long, void *, void *, long); | ^~~~~~ In file included from conftest.c:106: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10827: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_PTRACE_H | # include | #endif | #if HAVE_UNISTD_H | # include | #endif | | int | main () | { | | extern long | ptrace (long, long, void *, void *, long); | | ; | return 0; | } configure:10844: result: int,int,long,long configure:10976: checking compiler warning flags configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wall conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wpointer-arith conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wunused conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wunused-value conftest.cpp >&5 configure:11038: $? = 0 configure:11022: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wunused-variable conftest.cpp >&5 configure:11022: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wunused-function conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wswitch conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wchar-subscripts conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wempty-body conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wunused-but-set-parameter conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wunused-but-set-variable conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wsign-compare conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Werror=maybe-uninitialized conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wmismatched-tags conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Werror=deprecated-register conftest.cpp >&5 cc1plus: error: '-Werror=deprecated-register': no option '-Wdeprecated-register'; did you mean '-Wdeprecated-copy-dtor'? configure:11038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 int | #define PTRACE_TYPE_ARG3 long | #define PTRACE_TYPE_ARG4 long | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wsuggest-override conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wimplicit-fallthrough=3 conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wduplicated-cond conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wshadow=local conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wdeprecated-copy conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wdeprecated-copy-dtor conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wredundant-move conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wmissing-declarations conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wmissing-prototypes conftest.cpp >&5 cc1plus: error: command-line option '-Wmissing-prototypes' is valid for C/ObjC but not for C++ [-Werror] cc1plus: all warnings being treated as errors configure:11038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #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 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_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_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 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 int | #define PTRACE_TYPE_ARG3 long | #define PTRACE_TYPE_ARG4 long | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wstrict-null-sentinel conftest.cpp >&5 configure:11038: $? = 0 configure:11038: /home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -Werror -Wformat -Wformat-nonliteral conftest.cpp >&5 configure:11038: $? = 0 configure:11047: 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:11143: updating cache ./config.cache configure:11190: checking that generated files are newer than configure configure:11196: result: done configure:11231: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by gdbsupport config.status 1.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on gcc160.bak.milne.osuosl.org config.status:991: creating Makefile config.status:991: creating config.h config.status:1205: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 ' 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='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++ ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_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=riscv64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-musl ac_cv_func_alloca_works=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_getpagesize=yes ac_cv_func_getrlimit=yes ac_cv_func_getrusage=yes ac_cv_func_mmap_fixed_mapped=no ac_cv_func_pipe2=yes ac_cv_func_pipe=yes ac_cv_func_poll=yes ac_cv_func_pthread_setname_np=yes ac_cv_func_pthread_sigmask=yes ac_cv_func_ptrace64=no ac_cv_func_sbrk=yes ac_cv_func_setns=yes ac_cv_func_setpgid=yes ac_cv_func_setpgrp=yes ac_cv_func_sigaction=yes ac_cv_func_sigaltstack=yes ac_cv_func_sigprocmask=yes ac_cv_func_socketpair=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes 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_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_linux_elf_h=yes ac_cv_header_linux_perf_event_h=yes ac_cv_header_locale_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_poll_h=yes ac_cv_header_proc_service_h=no 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_param_h=yes ac_cv_header_sys_poll_h=yes ac_cv_header_sys_procfs_h=yes ac_cv_header_sys_ptrace_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_wait_h=yes ac_cv_header_termios_h=yes ac_cv_header_thread_db_h=no 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_host=riscv64-buildroot-linux-musl ac_cv_libipt=no ac_cv_member_struct_stat_st_blksize=yes ac_cv_member_struct_stat_st_blocks=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc ac_cv_prog_CPP='/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E' ac_cv_prog_RANLIB=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make__usr_bin_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_dlsym='none required' ac_cv_search_kinfo_getfile=no ac_cv_sizeof_long_long=8 ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=riscv64-buildroot-linux-musl ac_cv_type_long_long=yes ac_cv_type_pid_t=yes ac_cv_type_size_t=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=/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-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=none am_cv_CXX_dependencies_compiler_type=none am_cv_langinfo_codeset=yes am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes am_cv_prog_cc_stdc= 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=yes bfd_cv_have_sys_procfs_type_gregset_t=yes 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_cxx_std_thread=yes gdb_cv_func_ptrace_args=int,int,long,long gdb_cv_func_ptrace_ret=long gdb_cv_func_sigsetjmp=yes gdb_cv_prfpregset_t_broken=no gl_cv_func_gettimeofday_clobber=no gl_cv_func_strerror_0_works=yes gl_cv_func_working_strerror=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/buildroot/autobuild/instance-3/output-1/build/gdb-10.2/missing aclocal-1.15' ALLOCA='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AUTOCONF='${SHELL} /home/buildroot/autobuild/instance-3/output-1/build/gdb-10.2/missing autoconf' AUTOHEADER='${SHELL} /home/buildroot/autobuild/instance-3/output-1/build/gdb-10.2/missing autoheader' AUTOMAKE='${SHELL} /home/buildroot/autobuild/instance-3/output-1/build/gdb-10.2/missing automake-1.15' AWK='gawk' CATALOGS='' CATOBJEXT='' CC='/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 ' CPP='/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc -E' CPPFLAGS='' CXX='/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-g++' CXXDEPMODE='depmode=none' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 ' CXX_DIALECT='' CYGPATH_W='echo' DATADIRNAME='' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GENCAT='' GMSGFMT=':' GREP='/bin/grep' HAVE_CXX11='1' HAVE_LIBIPT='no' 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='' LARGEFILE_CPPFLAGS='' LDFLAGS=' ' LIBINTL='' LIBINTL_DEP='' LIBIPT='' LIBOBJS='' LIBS='' LTLIBIPT='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='true --split-size=5000000' MKDIR_P='/bin/mkdir -p' OBJEXT='o' PACKAGE='gdbsupport' PACKAGE_BUGREPORT='' PACKAGE_NAME='gdbsupport' PACKAGE_STRING='gdbsupport 1.0' PACKAGE_TARNAME='gdbsupport' PACKAGE_URL='' PACKAGE_VERSION='1.0' PATH_SEPARATOR=':' POSUB='' PTHREAD_CC='/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' RANLIB='/home/buildroot/autobuild/instance-3/output-1/per-package/gdb/host/bin/riscv64-linux-ranlib' SED='/bin/sed' SELFTEST_FALSE='' SELFTEST_TRUE='#' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' USE_NLS='no' VERSION='1.0' 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='' XGETTEXT=':' ac_ct_CC='' ac_ct_CXX='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 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_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' host='riscv64-buildroot-linux-musl' host_alias='riscv64-buildroot-linux-musl' host_cpu='riscv64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/buildroot/autobuild/instance-3/output-1/build/gdb-10.2/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target='riscv64-buildroot-linux-musl' target_alias='riscv64-buildroot-linux-musl' target_cpu='riscv64' target_os='linux-musl' target_vendor='buildroot' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "gdbsupport" #define PACKAGE_TARNAME "gdbsupport" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "gdbsupport 1.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "gdbsupport" #define VERSION "1.0" #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 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_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_WAIT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_DLFCN_H 1 #define HAVE_LINUX_ELF_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_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_DECL_ADDR_NO_RANDOMIZE 1 #define HAVE_PERSONALITY 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 _STRUCTURED_PROC 1 #define HAVE_SYS_PROCFS_H 1 #define HAVE_GREGSET_T 1 #define HAVE_FPREGSET_T 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 int #define PTRACE_TYPE_ARG3 long #define PTRACE_TYPE_ARG4 long #define TARGET_WORD_SIZE 64 configure: exit 0