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 $ /tmp/instance-0/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 --enable-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 --enable-gdb --with-curses --disable-gdbserver --disable-tui --with-python=/tmp/instance-0/buildroot/package/gdb/gdb-python-config --with-expat --with-libexpat-prefix=/tmp/instance-0/output-1/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 = ns3195860 uname -m = x86_64 uname -r = 5.4.0-80-generic uname -s = Linux uname -v = #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /tmp/instance-0/output-1/host/bin PATH: /tmp/instance-0/output-1/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2645: creating cache ./config.cache configure:2760: checking build system type configure:2774: result: x86_64-pc-linux-gnu configure:2794: checking host system type configure:2807: result: riscv64-buildroot-linux-musl configure:2827: checking target system type configure:2840: result: riscv64-buildroot-linux-musl configure:2868: checking whether to enable maintainer-specific portions of Makefiles configure:2877: result: no configure:2935: checking for a BSD-compatible install configure:3003: result: /usr/bin/install -c configure:3014: checking whether build environment is sane configure:3069: result: yes configure:3126: checking for riscv64-buildroot-linux-musl-strip configure:3156: result: no configure:3166: checking for strip configure:3182: found /usr/bin/strip configure:3193: result: strip configure:3205: WARNING: using cross tools not prefixed with host triplet configure:3218: checking for a thread-safe mkdir -p configure:3257: result: /usr/bin/mkdir -p configure:3264: checking for gawk configure:3291: result: gawk configure:3302: checking whether /usr/bin/make sets $(MAKE) configure:3324: result: yes configure:3353: checking whether /usr/bin/make supports nested variables configure:3370: result: yes configure:3507: checking whether /usr/bin/make supports nested variables configure:3524: result: yes configure:3544: checking for riscv64-buildroot-linux-musl-gcc configure:3571: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc configure:3840: checking for C compiler version configure:3849: /tmp/instance-0/output-1/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:3860: $? = 0 configure:3849: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-0/output-1/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=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3860: $? = 1 configure:3849: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:3860: $? = 1 configure:3849: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3860: $? = 1 configure:3880: checking whether the C compiler works configure:3902: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:3906: $? = 0 configure:3954: result: yes configure:3957: checking for C compiler default output file name configure:3959: result: a.out configure:3965: checking for suffix of executables configure:3972: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:3976: $? = 0 configure:3998: result: configure:4020: checking whether we are cross compiling configure:4058: result: yes configure:4063: checking for suffix of object files configure:4085: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:4089: $? = 0 configure:4110: result: o configure:4114: checking whether we are using the GNU C compiler configure:4133: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:4133: $? = 0 configure:4142: result: yes configure:4151: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g configure:4171: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -g conftest.c >&5 configure:4171: $? = 0 configure:4212: result: yes configure:4229: checking for /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:4292: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:4292: $? = 0 configure:4305: result: none needed configure:4330: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:4352: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4355: $? = 0 configure:4352: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c conftest.c -o conftest2.o configure:4355: $? = 0 configure:4367: result: yes configure:4395: checking for style of include used by /usr/bin/make configure:4423: result: GNU configure:4449: checking dependency style of /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc configure:4560: result: none configure:4687: checking for C++ compiler version configure:4696: /tmp/instance-0/output-1/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:4707: $? = 0 configure:4696: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/riscv64-linux-g++.br_real COLLECT_LTO_WRAPPER=/tmp/instance-0/output-1/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=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:4707: $? = 1 configure:4696: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -V >&5 riscv64-linux-g++.br_real: error: unrecognized command-line option '-V' configure:4707: $? = 1 configure:4696: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -qversion >&5 riscv64-linux-g++.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:4707: $? = 1 configure:4711: checking whether we are using the GNU C++ compiler configure:4730: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.cpp >&5 configure:4730: $? = 0 configure:4739: result: yes configure:4748: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ accepts -g configure:4768: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -g conftest.cpp >&5 configure:4768: $? = 0 configure:4809: result: yes configure:4834: checking dependency style of /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ configure:4945: result: none configure:4963: checking for riscv64-buildroot-linux-musl-ranlib configure:4990: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-ranlib configure:5059: checking how to run the C preprocessor configure:5090: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:5090: $? = 0 configure:5104: /tmp/instance-0/output-1/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:5104: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #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:5129: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E configure:5149: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:5149: $? = 0 configure:5163: /tmp/instance-0/output-1/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:5163: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #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:5192: checking for grep that handles long lines and -e configure:5250: result: /usr/bin/grep configure:5255: checking for egrep configure:5317: result: /usr/bin/grep -E configure:5322: checking for ANSI C header files configure:5342: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5342: $? = 0 configure:5426: result: yes configure:5439: checking for sys/types.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for sys/stat.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for stdlib.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for string.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for memory.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for strings.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for inttypes.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for stdint.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5439: checking for unistd.h configure:5439: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5439: $? = 0 configure:5439: result: yes configure:5452: checking minix/config.h usability configure:5452: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:54:10: fatal error: minix/config.h: No such file or directory 54 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:5452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:5452: result: no configure:5452: checking minix/config.h presence configure:5452: /tmp/instance-0/output-1/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:5452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define 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:5452: result: no configure:5452: checking for minix/config.h configure:5452: result: no configure:5473: checking whether it is safe to define __EXTENSIONS__ configure:5491: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5491: $? = 0 configure:5498: result: yes configure:5525: checking for dlfcn.h configure:5525: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5525: $? = 0 configure:5525: result: yes configure:5538: checking for windows.h configure:5538: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:61:10: fatal error: windows.h: No such file or directory 61 | #include | ^~~~~~~~~~~ compilation terminated. configure:5538: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __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:5538: result: no configure:5565: checking for library containing dlsym configure:5596: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5596: $? = 0 configure:5613: result: none required configure:5685: checking for special C compiler options needed for large files configure:5730: result: no configure:5736: checking for _FILE_OFFSET_BITS value needed for large files configure:5761: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:5761: $? = 0 configure:5793: result: no configure:5887: checking for riscv64-buildroot-linux-musl-gcc configure:5914: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc configure:6183: checking for C compiler version configure:6192: /tmp/instance-0/output-1/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:6203: $? = 0 configure:6192: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -v >&5 Using built-in specs. COLLECT_GCC=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/riscv64-linux-gcc.br_real COLLECT_LTO_WRAPPER=/tmp/instance-0/output-1/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=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ LIBRARY_PATH=/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/lib/:/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/lib/:/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:6203: $? = 1 configure:6192: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:6203: $? = 1 configure:6192: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -qversion >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:6203: $? = 1 configure:6207: checking whether we are using the GNU C compiler configure:6235: result: yes configure:6244: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g configure:6305: result: yes configure:6322: checking for /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:6398: result: none needed configure:6423: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc understands -c and -o together configure:6460: result: yes configure:6479: checking dependency style of /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc configure:6590: result: none configure:6619: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ supports C++11 features by default configure:6913: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.cpp >&5 configure:6913: $? = 0 configure:6920: result: yes configure:7605: checking whether NLS is requested configure:7611: result: yes configure:7617: checking for catalogs to be installed configure:7649: result: configure:7665: checking for long long configure:7665: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7665: $? = 0 configure:7665: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:65:24: error: expected expression before ')' token 65 | if (sizeof ((long long))) | ^ configure:7665: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | /* 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:7665: result: yes configure:7676: checking size of long long configure:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7681: $? = 0 configure:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:66:12: error: size of array 'test_array' is negative 66 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:7681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define 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:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:66:12: error: size of array 'test_array' is negative 66 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:7681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define 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:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:66:12: error: size of array 'test_array' is negative 66 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:7681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define 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:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:66:12: error: size of array 'test_array' is negative 66 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:7681: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define 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:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7681: $? = 0 configure:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7681: $? = 0 configure:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7681: $? = 0 configure:7681: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7681: $? = 0 configure:7695: result: 8 configure:7709: checking whether basename is declared configure:7709: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7709: $? = 0 configure:7709: result: yes configure:7719: checking whether ffs is declared configure:7719: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7719: $? = 0 configure:7719: result: yes configure:7729: checking whether asprintf is declared configure:7729: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7729: $? = 0 configure:7729: result: yes configure:7739: checking whether vasprintf is declared configure:7739: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7739: $? = 0 configure:7739: result: yes configure:7749: checking whether snprintf is declared configure:7749: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7749: $? = 0 configure:7749: result: yes configure:7759: checking whether vsnprintf is declared configure:7759: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7759: $? = 0 configure:7759: result: yes configure:7770: checking whether strtol is declared configure:7770: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7770: $? = 0 configure:7770: result: yes configure:7780: checking whether strtoul is declared configure:7780: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7780: $? = 0 configure:7780: result: yes configure:7790: checking whether strtoll is declared configure:7790: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7790: $? = 0 configure:7790: result: yes configure:7800: checking whether strtoull is declared configure:7800: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7800: $? = 0 configure:7800: result: yes configure:7811: checking whether strverscmp is declared configure:7811: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7811: $? = 0 configure:7811: result: yes configure:7823: checking for size_t configure:7823: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7823: $? = 0 configure:7823: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:78:21: error: expected expression before ')' token 78 | if (sizeof ((size_t))) | ^ configure:7823: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define 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:7823: result: yes configure:7840: checking for stdlib.h configure:7840: result: yes configure:7840: checking for unistd.h configure:7840: result: yes configure:7840: checking for sys/param.h configure:7840: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7840: $? = 0 configure:7840: result: yes configure:7857: checking for pid_t configure:7857: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:7857: $? = 0 configure:7857: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:20: error: expected expression before ')' token 81 | if (sizeof ((pid_t))) | ^ configure:7857: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_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:7857: result: yes configure:7868: checking for a sed that does not truncate output configure:7932: result: /usr/bin/sed configure:7977: checking for ld used by GCC configure:8040: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-ld configure:8047: checking if the linker (/tmp/instance-0/output-1/host/bin/riscv64-linux-ld) is GNU ld GNU ld (GNU Binutils) 2.34 configure:8059: result: yes configure:8065: checking for shared library run path origin configure:8078: result: done configure:8099: checking for ANSI C header files configure:8203: result: yes configure:8213: checking for working alloca.h configure:8230: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8230: $? = 0 configure:8238: result: yes configure:8246: checking for alloca configure:8283: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8283: $? = 0 configure:8291: result: yes configure:8409: checking for nl_langinfo and CODESET configure:8425: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8425: $? = 0 configure:8434: result: yes configure:8446: checking linux/perf_event.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking linux/perf_event.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for linux/perf_event.h configure:8446: result: yes configure:8446: checking locale.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking locale.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for locale.h configure:8446: result: yes configure:8446: checking for memory.h configure:8446: result: yes configure:8446: checking signal.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking signal.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for signal.h configure:8446: result: yes configure:8446: checking sys/resource.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking sys/resource.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for sys/resource.h configure:8446: result: yes configure:8446: checking sys/socket.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking sys/socket.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for sys/socket.h configure:8446: result: yes configure:8446: checking sys/un.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking sys/un.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for sys/un.h configure:8446: result: yes configure:8446: checking sys/wait.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking sys/wait.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for sys/wait.h configure:8446: result: yes configure:8446: checking thread_db.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:90:10: fatal error: thread_db.h: No such file or directory 90 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:8446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #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:8446: result: no configure:8446: checking thread_db.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:57:10: fatal error: thread_db.h: No such file or directory 57 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:8446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #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:8446: result: no configure:8446: checking for thread_db.h configure:8446: result: no configure:8446: checking wait.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 In file included from conftest.c:90: /tmp/instance-0/output-1/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:8446: $? = 0 configure:8446: result: yes configure:8446: checking wait.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c In file included from conftest.c:57: /tmp/instance-0/output-1/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:8446: $? = 0 configure:8446: result: yes configure:8446: checking for wait.h configure:8446: result: yes configure:8446: checking termios.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking termios.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for termios.h configure:8446: result: yes configure:8446: checking for dlfcn.h configure:8446: result: yes configure:8446: checking linux/elf.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking linux/elf.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for linux/elf.h configure:8446: result: yes configure:8446: checking proc_service.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:94:10: fatal error: proc_service.h: No such file or directory 94 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:8446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_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:8446: result: no configure:8446: checking proc_service.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:61:10: fatal error: proc_service.h: No such file or directory 61 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:8446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_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:8446: result: no configure:8446: checking for proc_service.h configure:8446: result: no configure:8446: checking poll.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking poll.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for poll.h configure:8446: result: yes configure:8446: checking sys/poll.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 In file included from conftest.c:95: /tmp/instance-0/output-1/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:8446: $? = 0 configure:8446: result: yes configure:8446: checking sys/poll.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c In file included from conftest.c:62: /tmp/instance-0/output-1/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:8446: $? = 0 configure:8446: result: yes configure:8446: checking for sys/poll.h configure:8446: result: yes configure:8446: checking sys/select.h usability configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking sys/select.h presence configure:8446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:8446: $? = 0 configure:8446: result: yes configure:8446: checking for sys/select.h configure:8446: result: yes configure:8460: checking for getpagesize configure:8460: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8460: $? = 0 configure:8460: result: yes configure:8469: checking for working mmap configure:8626: result: no configure:8637: checking vfork.h usability configure:8637: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:98:10: fatal error: vfork.h: No such file or directory 98 | #include | ^~~~~~~~~ compilation terminated. configure:8637: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_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:8637: result: no configure:8637: checking vfork.h presence configure:8637: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:65:10: fatal error: vfork.h: No such file or directory 65 | #include | ^~~~~~~~~ compilation terminated. configure:8637: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_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:8637: result: no configure:8637: checking for vfork.h configure:8637: result: no configure:8650: checking for fork configure:8650: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:88:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 88 | char fork (); | ^~~~ configure:8650: $? = 0 configure:8650: result: yes configure:8650: checking for vfork configure:8650: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8650: $? = 0 configure:8650: result: yes configure:8660: checking for working fork configure:8692: result: cross configure:8708: WARNING: result yes guessed because of cross compilation configure:8713: checking for working vfork configure:8823: result: yes configure:8853: checking for fdwalk configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccqgtUr3.o: in function `main': /tmp/instance-0/output-1/build/gdb-10.2/build/gdbsupport/conftest.c:103: undefined reference to `fdwalk' collect2: error: ld returned 1 exit status configure:8853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_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:8853: result: no configure:8853: checking for getrlimit configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for pipe configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for pipe2 configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for poll configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for socketpair configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for sigaction configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for ptrace64 configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/cc8UWRW1.o: in function `main': /tmp/instance-0/output-1/build/gdb-10.2/build/gdbsupport/conftest.c:109: undefined reference to `ptrace64' collect2: error: ld returned 1 exit status configure:8853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #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:8853: result: no configure:8853: checking for sbrk configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for setns configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for sigaltstack configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for sigprocmask configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for setpgid configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for setpgrp configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for getrusage configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8853: checking for getauxval configure:8853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8853: $? = 0 configure:8853: result: yes configure:8863: checking whether ADDR_NO_RANDOMIZE is declared configure:8863: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8863: $? = 0 configure:8863: result: yes configure:8895: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8895: $? = 0 configure:8937: checking whether strstr is declared configure:8937: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8937: $? = 0 configure:8937: result: yes configure:8953: checking for struct stat.st_blocks configure:8953: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8953: $? = 0 configure:8953: result: yes configure:8962: checking for struct stat.st_blksize configure:8962: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:8962: $? = 0 configure:8962: result: yes configure:8973: checking for library containing kinfo_getfile configure:9004: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccx6YUuJ.o: in function `main': /tmp/instance-0/output-1/build/gdb-10.2/build/gdbsupport/conftest.c:99: undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:9004: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:9004: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c -lutil >&5 /tmp/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccNEtf4L.o: in function `main': /tmp/instance-0/output-1/build/gdb-10.2/build/gdbsupport/conftest.c:99: undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:9004: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:9004: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c -lutil-freebsd >&5 /tmp/instance-0/output-1/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:9004: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:9021: result: no configure:9223: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc is Clang configure:9248: result: no configure:9371: checking whether pthreads work with -pthread configure:9465: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread conftest.c >&5 configure:9465: $? = 0 configure:9474: result: yes configure:9493: checking for joinable pthread attribute configure:9511: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread conftest.c >&5 configure:9511: $? = 0 configure:9519: result: PTHREAD_CREATE_JOINABLE configure:9533: checking whether more special flags are required for pthreads configure:9546: result: no configure:9554: checking for PTHREAD_PRIO_INHERIT configure:9570: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread conftest.c >&5 configure:9570: $? = 0 configure:9579: result: yes configure:9684: checking for std::thread configure:9701: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.cpp >&5 configure:9701: $? = 0 configure:9708: result: yes configure:9716: checking for pthread_sigmask configure:9716: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -o conftest -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.cpp >&5 configure:9716: $? = 0 configure:9716: result: yes configure:9716: checking for pthread_setname_np configure:9716: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -o conftest -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.cpp >&5 configure:9716: $? = 0 configure:9716: result: yes configure:9741: checking for sigsetjmp configure:9759: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:9759: $? = 0 configure:9766: result: yes configure:9782: checking whether to use intel pt configure:9784: result: auto configure:9801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:9801: $? = 0 configure:10241: checking for libipt configure:10260: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c -lipt >&5 conftest.c:93:10: fatal error: intel-pt.h: No such file or directory 93 | #include "intel-pt.h" | ^~~~~~~~~~~~ compilation terminated. configure:10260: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_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:10270: result: no configure:10297: WARNING: libipt is missing or unusable; some features may be unavailable. configure:10344: checking sys/procfs.h usability configure:10344: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10344: $? = 0 configure:10344: result: yes configure:10344: checking sys/procfs.h presence configure:10344: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:10344: $? = 0 configure:10344: result: yes configure:10344: checking for sys/procfs.h configure:10344: result: yes configure:10356: checking for gregset_t in sys/procfs.h configure:10374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10374: $? = 0 configure:10388: result: yes configure:10392: checking for fpregset_t in sys/procfs.h configure:10410: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10410: $? = 0 configure:10424: result: yes configure:10428: checking for prgregset_t in sys/procfs.h configure:10446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10446: $? = 0 configure:10460: result: yes configure:10464: checking for prfpregset_t in sys/procfs.h configure:10482: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10482: $? = 0 configure:10496: result: yes configure:10500: checking for prgregset32_t in sys/procfs.h configure:10518: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:105:1: error: unknown type name 'prgregset32_t'; did you mean 'prgregset_t'? 105 | prgregset32_t avar | ^~~~~~~~~~~~~ | prgregset_t configure:10518: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_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:10532: result: no configure:10536: checking for lwpid_t in sys/procfs.h configure:10554: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10554: $? = 0 configure:10568: result: yes configure:10572: checking for psaddr_t in sys/procfs.h configure:10590: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10590: $? = 0 configure:10604: result: yes configure:10608: checking for elf_fpregset_t in sys/procfs.h configure:10626: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10626: $? = 0 configure:10640: result: yes configure:10692: checking sys/ptrace.h usability configure:10692: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 configure:10692: $? = 0 configure:10692: result: yes configure:10692: checking sys/ptrace.h presence configure:10692: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:10692: $? = 0 configure:10692: result: yes configure:10692: checking for sys/ptrace.h configure:10692: result: yes configure:10692: checking ptrace.h usability configure:10692: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c:136:10: fatal error: ptrace.h: No such file or directory 136 | #include | ^~~~~~~~~~ compilation terminated. configure:10692: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:10692: result: no configure:10692: checking ptrace.h presence configure:10692: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:103:10: fatal error: ptrace.h: No such file or directory 103 | #include | ^~~~~~~~~~ compilation terminated. configure:10692: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:10692: result: no configure:10692: checking for ptrace.h configure:10692: result: no configure:10715: checking return type of ptrace configure:10731: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 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: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10731: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:10745: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:115:12: error: conflicting types for 'ptrace' 115 | extern int ptrace (); | ^~~~~~ In file included from conftest.c:106: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10745: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:10754: result: long configure:10762: checking types of arguments for ptrace configure:10779: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:116:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration 116 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~~~~~~~~~~~ conftest.c:116:13: error: conflicting types for 'ptrace' 116 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10779: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, pid_t, void *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, int, void *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (int, long, void *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, pid_t, void *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, int, void *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, int, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, int, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, int, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, int, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, long, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, long, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, long, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10801: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, void *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10801: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, void *, int *); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, void *, int); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10821: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 conftest.c >&5 conftest.c: In function 'main': conftest.c:118:3: error: conflicting types for 'ptrace' 118 | ptrace (long, long, void *, void *, long); | ^~~~~~ In file included from conftest.c:107: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:10821: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:10838: result: int,int,long,long configure:10970: checking compiler warning flags configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wall conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wpointer-arith conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wunused conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wunused-value conftest.cpp >&5 configure:11032: $? = 0 configure:11016: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wunused-variable conftest.cpp >&5 configure:11016: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wunused-function conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wswitch conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wchar-subscripts conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wempty-body conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wunused-but-set-parameter conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wunused-but-set-variable conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wsign-compare conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Werror=maybe-uninitialized conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wmismatched-tags conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Werror=deprecated-register conftest.cpp >&5 cc1plus: error: '-Werror=deprecated-register': no option '-Wdeprecated-register'; did you mean '-Wdeprecated-copy-dtor'? configure:11032: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wsuggest-override conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wimplicit-fallthrough=3 conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wduplicated-cond conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wshadow=local conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wdeprecated-copy conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wdeprecated-copy-dtor conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wredundant-move conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wmissing-declarations conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -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:11032: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gdbsupport" | #define PACKAGE_TARNAME "gdbsupport" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "gdbsupport 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gdbsupport" | #define VERSION "1.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define ENABLE_NLS 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wstrict-null-sentinel conftest.cpp >&5 configure:11032: $? = 0 configure:11032: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -Werror -Wformat -Wformat-nonliteral conftest.cpp >&5 configure:11032: $? = 0 configure:11041: 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:11129: updating cache ./config.cache configure:11176: checking that generated files are newer than configure configure:11182: result: done configure:11217: 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 ns3195860 config.status:988: creating Makefile config.status:988: creating config.h config.status:1202: 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=/tmp/instance-0/output-1/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 -Os -g2 ' 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 -Os -g2 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/tmp/instance-0/output-1/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='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CC=/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc ac_cv_prog_CPP='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E' ac_cv_prog_RANLIB=/tmp/instance-0/output-1/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=/tmp/instance-0/output-1/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} /tmp/instance-0/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} /tmp/instance-0/output-1/build/gdb-10.2/missing autoconf' AUTOHEADER='${SHELL} /tmp/instance-0/output-1/build/gdb-10.2/missing autoheader' AUTOMAKE='${SHELL} /tmp/instance-0/output-1/build/gdb-10.2/missing automake-1.15' AWK='gawk' CATALOGS='' CATOBJEXT='.gmo' CC='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc' CCDEPMODE='depmode=none' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 ' CPP='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E' CPPFLAGS='' CXX='/tmp/instance-0/output-1/host/bin/riscv64-linux-g++' CXXDEPMODE='depmode=none' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 ' CXX_DIALECT='' CYGPATH_W='echo' DATADIRNAME='share' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' GENCAT='gencat' GMSGFMT='/tmp/instance-0/output-1/host/bin/msgfmt' GREP='/usr/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='.mo' LARGEFILE_CPPFLAGS='' LDFLAGS=' ' LIBINTL='-lintl' LIBINTL_DEP='' LIBIPT='' LIBOBJS='' LIBS='' LTLIBIPT='' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='true --split-size=5000000' MKDIR_P='/usr/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='po' PTHREAD_CC='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' RANLIB='/tmp/instance-0/output-1/host/bin/riscv64-linux-ranlib' SED='/usr/bin/sed' SELFTEST_FALSE='' SELFTEST_TRUE='#' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' USE_NLS='yes' 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='/tmp/instance-0/output-1/host/bin/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} /tmp/instance-0/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 ENABLE_NLS 1 #define HAVE_LONG_LONG 1 #define SIZEOF_LONG_LONG 8 #define HAVE_DECL_BASENAME 1 #define HAVE_DECL_FFS 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_STRTOL 1 #define HAVE_DECL_STRTOUL 1 #define HAVE_DECL_STRTOLL 1 #define HAVE_DECL_STRTOULL 1 #define HAVE_DECL_STRVERSCMP 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_PARAM_H 1 #define STDC_HEADERS 1 #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define HAVE_LANGINFO_CODESET 1 #define HAVE_LINUX_PERF_EVENT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_WAIT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_DLFCN_H 1 #define HAVE_LINUX_ELF_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_GETRLIMIT 1 #define HAVE_PIPE 1 #define HAVE_PIPE2 1 #define HAVE_POLL 1 #define HAVE_SOCKETPAIR 1 #define HAVE_SIGACTION 1 #define HAVE_SBRK 1 #define HAVE_SETNS 1 #define HAVE_SIGALTSTACK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SETPGID 1 #define HAVE_SETPGRP 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETAUXVAL 1 #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 #define HAVE_PERSONALITY 1 #define HAVE_DECL_STRSTR 1 #define HAVE_STRUCT_STAT_ST_BLOCKS 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_PTHREAD_PRIO_INHERIT 1 #define HAVE_PTHREAD_SIGMASK 1 #define HAVE_PTHREAD_SETNAME_NP 1 #define CXX_STD_THREAD 1 #define HAVE_SIGSETJMP 1 #define _STRUCTURED_PROC 1 #define HAVE_SYS_PROCFS_H 1 #define HAVE_GREGSET_T 1 #define HAVE_FPREGSET_T 1 #define HAVE_PRGREGSET_T 1 #define HAVE_PRFPREGSET_T 1 #define HAVE_LWPID_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