This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ /tmp/instance-0/output-1/build/gdb-10.1/gdb/configure --srcdir=../../gdb --cache-file=./config.cache --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --without-uiout --disable-gdbtk --without-x --disable-sim --disable-binutils --disable-install-libbfd --disable-ld --disable-gas --disable-gprof --without-included-gettext --disable-werror --enable-static --without-mpfr --enable-gdb --with-curses --disable-gdbserver --disable-tui --without-python --with-expat --with-libexpat-prefix=/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr --with-lzma --with-liblzma-prefix=/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr --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:2906: creating cache ./config.cache configure:2988: checking whether to enable maintainer-specific portions of Makefiles configure:2997: result: no configure:3019: checking for riscv64-buildroot-linux-musl-gcc configure:3046: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc configure:3315: checking for C compiler version configure:3324: /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:3335: $? = 0 configure:3324: /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:3335: $? = 1 configure:3324: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -V >&5 riscv64-linux-gcc.br_real: error: unrecognized command-line option '-V' configure:3335: $? = 1 configure:3324: /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:3335: $? = 1 configure:3355: checking whether the C compiler works configure:3377: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:3381: $? = 0 configure:3429: result: yes configure:3432: checking for C compiler default output file name configure:3434: result: a.out configure:3440: checking for suffix of executables configure:3447: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:3451: $? = 0 configure:3473: result: configure:3495: checking whether we are cross compiling configure:3533: result: yes configure:3538: checking for suffix of object files configure:3560: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:3564: $? = 0 configure:3585: result: o configure:3589: checking whether we are using the GNU C compiler configure:3608: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:3608: $? = 0 configure:3617: result: yes configure:3626: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g configure:3646: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -g conftest.c >&5 configure:3646: $? = 0 configure:3687: result: yes configure:3704: checking for /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc option to accept ISO C89 configure:3767: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:3767: $? = 0 configure:3780: result: none needed configure:3912: checking for C++ compiler version configure:3921: /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:3932: $? = 0 configure:3921: /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:3932: $? = 1 configure:3921: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -V >&5 riscv64-linux-g++.br_real: error: unrecognized command-line option '-V' configure:3932: $? = 1 configure:3921: /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:3932: $? = 1 configure:3936: checking whether we are using the GNU C++ compiler configure:3955: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.cpp >&5 configure:3955: $? = 0 configure:3964: result: yes configure:3973: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ accepts -g configure:3993: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -g conftest.cpp >&5 configure:3993: $? = 0 configure:4034: result: yes configure:4064: checking how to run the C preprocessor configure:4095: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:4095: $? = 0 configure:4109: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4109: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4134: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E configure:4154: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c configure:4154: $? = 0 configure:4168: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory 9 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4168: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4197: checking for grep that handles long lines and -e configure:4255: result: /usr/bin/grep configure:4260: checking for egrep configure:4322: result: /usr/bin/grep -E configure:4327: checking for ANSI C header files configure:4347: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4347: $? = 0 configure:4431: result: yes configure:4444: checking for sys/types.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for sys/stat.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for stdlib.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for string.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for memory.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for strings.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for inttypes.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for stdint.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4444: checking for unistd.h configure:4444: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4444: $? = 0 configure:4444: result: yes configure:4457: checking minix/config.h usability configure:4457: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c:52:10: fatal error: minix/config.h: No such file or directory 52 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4457: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #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:4457: result: no configure:4457: checking minix/config.h presence configure:4457: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:19:10: fatal error: minix/config.h: No such file or directory 19 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:4457: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include configure:4457: result: no configure:4457: checking for minix/config.h configure:4457: result: no configure:4478: checking whether it is safe to define __EXTENSIONS__ configure:4496: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4496: $? = 0 configure:4503: result: yes configure:4550: checking build system type configure:4564: result: x86_64-pc-linux-gnu configure:4584: checking host system type configure:4597: result: riscv64-buildroot-linux-musl configure:4617: checking target system type configure:4630: result: riscv64-buildroot-linux-musl configure:4669: checking for dlfcn.h configure:4669: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4669: $? = 0 configure:4669: result: yes configure:4682: checking for windows.h configure:4682: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c:59:10: fatal error: windows.h: No such file or directory 59 | #include | ^~~~~~~~~~~ compilation terminated. configure:4682: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include | #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:4682: result: no configure:4709: checking for library containing dlsym configure:4740: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4740: $? = 0 configure:4757: result: none required configure:4829: checking for special C compiler options needed for large files configure:4874: result: no configure:4880: checking for _FILE_OFFSET_BITS value needed for large files configure:4905: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:4905: $? = 0 configure:4937: result: no configure:5026: checking for /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc option to accept ANSI C configure:5084: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:5084: $? = 0 configure:5094: result: none needed configure:5125: checking for riscv64-buildroot-linux-musl-strip configure:5155: result: no configure:5165: checking for strip configure:5181: found /usr/bin/strip configure:5192: result: strip configure:5204: WARNING: using cross tools not prefixed with host triplet configure:5270: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ supports C++11 features by default configure:5564: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.cpp >&5 configure:5564: $? = 0 configure:5571: result: yes configure:6261: checking dependency style of /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc configure:6292: trying gcc3 | depmode=gcc3 source=sub/conftest.c object=sub/conftest.o depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo /bin/bash ./depcomp /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -o sub/conftest.o sub/conftest.c configure:6331: success configure:6346: result: gcc3 configure:6379: checking whether NLS is requested configure:6382: result: no configure:6461: checking whether true --split-size=5000000 supports @click configure:6473: result: yes configure:6613: checking for default auto-load directory configure:6635: result: $debugdir:$datadir/auto-load configure:6638: checking for default auto-load safe-path configure:6662: result: $debugdir:$datadir/auto-load configure:6913: checking for riscv64-buildroot-linux-musl-pkg-config configure:6946: result: no configure:6956: checking for pkg-config configure:6974: found /tmp/instance-0/output-1/host/bin/pkg-config configure:6986: result: /tmp/instance-0/output-1/host/bin/pkg-config configure:7011: checking pkg-config is at least version 0.9.0 configure:7014: result: yes configure:7032: checking whether to use debuginfod configure:7034: result: auto configure:7040: checking for libdebuginfod >= 0.179 configure:7047: $PKG_CONFIG --exists --print-errors "libdebuginfod >= 0.179" Package libdebuginfod was not found in the pkg-config search path. Perhaps you should add the directory containing `libdebuginfod.pc' to the PKG_CONFIG_PATH environment variable Package 'libdebuginfod', required by 'virtual:world', not found configure:7050: $? = 1 configure:7064: $PKG_CONFIG --exists --print-errors "libdebuginfod >= 0.179" Package libdebuginfod was not found in the pkg-config search path. Perhaps you should add the directory containing `libdebuginfod.pc' to the PKG_CONFIG_PATH environment variable Package 'libdebuginfod', required by 'virtual:world', not found configure:7067: $? = 1 configure:7105: result: no Package 'libdebuginfod', required by 'virtual:world', not found configure:7124: WARNING: libdebuginfod is missing or unusable; some features may be unavailable. configure:7177: checking libunwind-ia64.h usability configure:7177: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c:69:10: fatal error: libunwind-ia64.h: No such file or directory 69 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:7177: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | /* 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:7177: result: no configure:7177: checking libunwind-ia64.h presence configure:7177: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E conftest.c conftest.c:36:10: fatal error: libunwind-ia64.h: No such file or directory 36 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:7177: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | /* end confdefs.h. */ | #include configure:7177: result: no configure:7177: checking for libunwind-ia64.h configure:7177: result: no configure:7245: checking for monstartup configure:7245: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 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/ccfxWXe8.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `monstartup' collect2: error: ld returned 1 exit status configure:7245: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | /* end confdefs.h. */ | /* Define monstartup to an innocuous variant, in case declares monstartup. | For example, HP-UX 11i declares gettimeofday. */ | #define monstartup innocuous_monstartup | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char monstartup (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef monstartup | | /* 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 monstartup (); | /* 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_monstartup || defined __stub___monstartup | choke me | #endif | | int | main () | { | return monstartup (); | ; | return 0; | } configure:7245: result: no configure:7245: checking for _mcleanup configure:7245: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 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/ccriZgob.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `_mcleanup' collect2: error: ld returned 1 exit status configure:7245: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | /* end confdefs.h. */ | /* Define _mcleanup to an innocuous variant, in case declares _mcleanup. | For example, HP-UX 11i declares gettimeofday. */ | #define _mcleanup innocuous__mcleanup | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char _mcleanup (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef _mcleanup | | /* 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 _mcleanup (); | /* 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__mcleanup || defined __stub____mcleanup | choke me | #endif | | int | main () | { | return _mcleanup (); | ; | return 0; | } configure:7245: result: no configure:7254: checking for _etext configure:7272: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:42:1: warning: attempt to free a non-heap object '_etext' [-Wfree-nonheap-object] 42 | free (&_etext); | ^~~~~~~~~~~~~~ configure:7272: $? = 0 configure:7280: result: yes configure:7287: checking for etext configure:7305: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:43:1: warning: attempt to free a non-heap object 'etext' [-Wfree-nonheap-object] 43 | free (&etext); | ^~~~~~~~~~~~~ configure:7305: $? = 0 configure:7313: result: yes configure:7433: checking for gawk configure:7460: result: gawk configure:7485: checking for a BSD-compatible install configure:7553: result: /usr/bin/install -c configure:7564: checking whether ln -s works configure:7568: result: yes configure:7578: checking for riscv64-buildroot-linux-musl-ranlib configure:7605: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-ranlib configure:7671: checking for bison configure:7698: result: bison -y configure:7714: checking for riscv64-buildroot-linux-musl-ar configure:7741: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-ar configure:7806: checking for riscv64-buildroot-linux-musl-dlltool configure:7833: result: riscv64-buildroot-linux-musl-dlltool configure:7898: checking for riscv64-buildroot-linux-musl-windres configure:7925: result: riscv64-buildroot-linux-musl-windres configure:8094: checking for main in -lm configure:8113: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lm >&5 configure:8113: $? = 0 configure:8122: result: yes configure:8135: checking for library containing gethostbyname configure:8166: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lm >&5 configure:8166: $? = 0 configure:8183: result: none required configure:8193: checking for library containing socketpair configure:8224: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lm >&5 configure:8224: $? = 0 configure:8241: result: none required configure:8271: checking for library containing kinfo_getvmmap configure:8302: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lm >&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/ccAdIUah.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getvmmap' collect2: error: ld returned 1 exit status configure:8302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 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_getvmmap (); | int | main () | { | return kinfo_getvmmap (); | ; | return 0; | } configure:8302: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lutil -lm >&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/ccSEftnl.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getvmmap' collect2: error: ld returned 1 exit status configure:8302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 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_getvmmap (); | int | main () | { | return kinfo_getvmmap (); | ; | return 0; | } configure:8302: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lutil-freebsd -lm >&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:8302: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 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_getvmmap (); | int | main () | { | return kinfo_getvmmap (); | ; | return 0; | } configure:8319: result: no configure:8370: checking for ld used by GCC configure:8433: result: /tmp/instance-0/output-1/host/bin/riscv64-linux-ld configure:8440: checking if the linker (/tmp/instance-0/output-1/host/bin/riscv64-linux-ld) is GNU ld GNU ld (GNU Binutils) 2.34 configure:8452: result: yes configure:8458: checking for shared library run path origin configure:8471: result: done configure:8891: checking for iconv configure:8915: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lm >&5 configure:8915: $? = 0 configure:8989: result: yes configure:9032: checking for iconv declaration configure:9061: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9061: $? = 0 configure:9072: result: extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure:9148: checking for library containing waddstr configure:9179: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lm >&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/ccBxdaM3.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `waddstr' collect2: error: ld returned 1 exit status configure:9179: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char waddstr (); | int | main () | { | return waddstr (); | ; | return 0; | } configure:9179: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lncursesw -lm >&5 configure:9179: $? = 0 configure:9196: result: -lncursesw configure:9246: checking for library containing tgetent configure:9277: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lncursesw -lm >&5 configure:9277: $? = 0 configure:9294: result: none required configure:9371: checking size of unsigned long long configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9376: $? = 0 configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative 79 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 0)]; | ^~~~~~~~~~ configure:9376: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | /* 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 (unsigned long long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative 79 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 1)]; | ^~~~~~~~~~ configure:9376: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | /* 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 (unsigned long long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative 79 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 3)]; | ^~~~~~~~~~ configure:9376: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | /* 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 (unsigned long long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:79:12: error: size of array 'test_array' is negative 79 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long long))) <= 7)]; | ^~~~~~~~~~ configure:9376: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | /* 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 (unsigned long long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9376: $? = 0 configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9376: $? = 0 configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9376: $? = 0 configure:9376: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9376: $? = 0 configure:9390: result: 8 configure:9404: checking size of unsigned long configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9409: $? = 0 configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative 80 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 0)]; | ^~~~~~~~~~ configure:9409: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | /* 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 (unsigned long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative 80 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 1)]; | ^~~~~~~~~~ configure:9409: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | /* 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 (unsigned long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative 80 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 3)]; | ^~~~~~~~~~ configure:9409: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | /* 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 (unsigned long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:12: error: size of array 'test_array' is negative 80 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= 7)]; | ^~~~~~~~~~ configure:9409: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | /* 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 (unsigned long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9409: $? = 0 configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9409: $? = 0 configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9409: $? = 0 configure:9409: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9409: $? = 0 configure:9423: result: 8 configure:9437: checking size of unsigned __int128 configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9442: $? = 0 configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 0)]; | ^~~~~~~~~~ configure:9442: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | /* 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 (unsigned __int128))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 1)]; | ^~~~~~~~~~ configure:9442: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | /* 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 (unsigned __int128))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 3)]; | ^~~~~~~~~~ configure:9442: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | /* 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 (unsigned __int128))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 7)]; | ^~~~~~~~~~ configure:9442: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | /* 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 (unsigned __int128))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 conftest.c: In function 'main': conftest.c:81:12: error: size of array 'test_array' is negative 81 | static int test_array [1 - 2 * !(((long int) (sizeof (unsigned __int128))) <= 15)]; | ^~~~~~~~~~ configure:9442: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | /* 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 (unsigned __int128))) <= 15)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9442: $? = 0 configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9442: $? = 0 configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9442: $? = 0 configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9442: $? = 0 configure:9442: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c >&5 configure:9442: $? = 0 configure:9456: result: 16 configure:9481: checking for library containing dlopen configure:9512: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 conftest.c -lncursesw -lm >&5 configure:9512: $? = 0 configure:9529: result: none required configure:9593: checking whether to use expat configure:9595: result: yes configure:10028: checking for libexpat configure:10047: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib >&5 configure:10047: $? = 0 configure:10057: result: yes configure:10064: checking how to link with libexpat configure:10066: result: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib configure:10092: checking for XML_StopParser configure:10092: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib >&5 configure:10092: $? = 0 configure:10092: result: yes configure:10113: checking whether to use MPFR configure:10115: result: no configure:10119: WARNING: MPFR support disabled; some features may be unavailable. configure:10627: checking whether to use python configure:10629: result: no configure:10633: WARNING: python support disabled; some features may be unavailable. configure:11136: checking whether to use guile configure:11138: result: auto configure:11143: checking for pkg-config configure:11161: found /tmp/instance-0/output-1/host/bin/pkg-config configure:11174: result: /tmp/instance-0/output-1/host/bin/pkg-config configure:11201: checking for usable guile from /tmp/instance-0/output-1/host/bin/pkg-config configure:11270: result: no configure:11692: checking for the source-highlight library configure:11716: result: no configure:11731: checking for ANSI C header files configure:11835: result: yes configure:11852: checking nlist.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:84:10: fatal error: nlist.h: No such file or directory 84 | #include | ^~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 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:11852: result: no configure:11852: checking nlist.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:51:10: fatal error: nlist.h: No such file or directory 51 | #include | ^~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for nlist.h configure:11852: result: no configure:11852: checking machine/reg.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:84:10: fatal error: machine/reg.h: No such file or directory 84 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 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:11852: result: no configure:11852: checking machine/reg.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:51:10: fatal error: machine/reg.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for machine/reg.h configure:11852: result: no configure:11852: checking thread_db.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:84:10: fatal error: thread_db.h: No such file or directory 84 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 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:11852: result: no configure:11852: checking thread_db.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:51:10: fatal error: thread_db.h: No such file or directory 51 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for thread_db.h configure:11852: result: no configure:11852: checking sys/file.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking sys/file.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for sys/file.h configure:11852: result: yes configure:11852: checking sys/filio.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:85:10: fatal error: sys/filio.h: No such file or directory 85 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_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:11852: result: no configure:11852: checking sys/filio.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:52:10: fatal error: sys/filio.h: No such file or directory 52 | #include | ^~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for sys/filio.h configure:11852: result: no configure:11852: checking sys/ioctl.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking sys/ioctl.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for sys/ioctl.h configure:11852: result: yes configure:11852: checking sys/param.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking sys/param.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for sys/param.h configure:11852: result: yes configure:11852: checking sys/resource.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking sys/resource.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for sys/resource.h configure:11852: result: yes configure:11852: checking sys/ptrace.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking sys/ptrace.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for sys/ptrace.h configure:11852: result: yes configure:11852: checking ptrace.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:89:10: fatal error: ptrace.h: No such file or directory 89 | #include | ^~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | /* end confdefs.h. */ | #include | #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:11852: result: no configure:11852: checking ptrace.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:56:10: fatal error: ptrace.h: No such file or directory 56 | #include | ^~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for ptrace.h configure:11852: result: no configure:11852: checking sys/reg.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking sys/reg.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for sys/reg.h configure:11852: result: yes configure:11852: checking sys/debugreg.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:90:10: fatal error: sys/debugreg.h: No such file or directory 90 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | /* 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:11852: result: no configure:11852: checking sys/debugreg.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:57:10: fatal error: sys/debugreg.h: No such file or directory 57 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for sys/debugreg.h configure:11852: result: no configure:11852: checking termios.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking termios.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11852: $? = 0 configure:11852: result: yes configure:11852: checking for termios.h configure:11852: result: yes configure:11852: checking elf_hp.h usability configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:91:10: fatal error: elf_hp.h: No such file or directory 91 | #include | ^~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_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:11852: result: no configure:11852: checking elf_hp.h presence configure:11852: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:58:10: fatal error: elf_hp.h: No such file or directory 58 | #include | ^~~~~~~~~~ compilation terminated. configure:11852: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | /* end confdefs.h. */ | #include configure:11852: result: no configure:11852: checking for elf_hp.h configure:11852: result: no configure:11864: checking for sys/user.h configure:11864: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11864: $? = 0 configure:11864: result: yes configure:11882: checking curses.h usability configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11882: $? = 0 configure:11882: result: yes configure:11882: checking curses.h presence configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11882: $? = 0 configure:11882: result: yes configure:11882: checking for curses.h configure:11882: result: yes configure:11882: checking cursesX.h usability configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:93:10: fatal error: cursesX.h: No such file or directory 93 | #include | ^~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_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:11882: result: no configure:11882: checking cursesX.h presence configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:60:10: fatal error: cursesX.h: No such file or directory 60 | #include | ^~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | /* end confdefs.h. */ | #include configure:11882: result: no configure:11882: checking for cursesX.h configure:11882: result: no configure:11882: checking ncurses.h usability configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11882: $? = 0 configure:11882: result: yes configure:11882: checking ncurses.h presence configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11882: $? = 0 configure:11882: result: yes configure:11882: checking for ncurses.h configure:11882: result: yes configure:11882: checking ncursesw/ncurses.h usability configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:94:10: fatal error: ncursesw/ncurses.h: No such file or directory 94 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_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:11882: result: no configure:11882: checking ncursesw/ncurses.h presence configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:61:10: fatal error: ncursesw/ncurses.h: No such file or directory 61 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | /* end confdefs.h. */ | #include configure:11882: result: no configure:11882: checking for ncursesw/ncurses.h configure:11882: result: no configure:11882: checking ncurses/ncurses.h usability configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:94:10: fatal error: ncurses/ncurses.h: No such file or directory 94 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_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:11882: result: no configure:11882: checking ncurses/ncurses.h presence configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:61:10: fatal error: ncurses/ncurses.h: No such file or directory 61 | #include | ^~~~~~~~~~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | /* end confdefs.h. */ | #include configure:11882: result: no configure:11882: checking for ncurses/ncurses.h configure:11882: result: no configure:11882: checking ncurses/term.h usability configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:94:10: fatal error: ncurses/term.h: No such file or directory 94 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_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:11882: result: no configure:11882: checking ncurses/term.h presence configure:11882: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:61:10: fatal error: ncurses/term.h: No such file or directory 61 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:11882: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | /* end confdefs.h. */ | #include configure:11882: result: no configure:11882: checking for ncurses/term.h configure:11882: result: no configure:11894: checking for term.h configure:11894: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11894: $? = 0 configure:11894: result: yes configure:11911: checking sys/socket.h usability configure:11911: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11911: $? = 0 configure:11911: result: yes configure:11911: checking sys/socket.h presence configure:11911: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:11911: $? = 0 configure:11911: result: yes configure:11911: checking for sys/socket.h configure:11911: result: yes configure:11923: checking ws2tcpip.h usability configure:11923: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:96:10: fatal error: ws2tcpip.h: No such file or directory 96 | #include | ^~~~~~~~~~~~ compilation terminated. configure:11923: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_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:11923: result: no configure:11923: checking ws2tcpip.h presence configure:11923: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:63:10: fatal error: ws2tcpip.h: No such file or directory 63 | #include | ^~~~~~~~~~~~ compilation terminated. configure:11923: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | #include configure:11923: result: no configure:11923: checking for ws2tcpip.h configure:11923: result: no configure:11940: checking for long long configure:11940: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11940: $? = 0 configure:11940: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:99:24: error: expected expression before ')' token 99 | if (sizeof ((long long))) | ^ configure:11940: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_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 ((long long))) | return 0; | ; | return 0; | } configure:11940: result: yes configure:11951: checking size of long long configure:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11956: $? = 0 configure:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:100:12: error: size of array 'test_array' is negative 100 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 0)]; | ^~~~~~~~~~ configure:11956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 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:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:100:12: error: size of array 'test_array' is negative 100 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 1)]; | ^~~~~~~~~~ configure:11956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 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:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:100:12: error: size of array 'test_array' is negative 100 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 3)]; | ^~~~~~~~~~ configure:11956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 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:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:100:12: error: size of array 'test_array' is negative 100 | static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= 7)]; | ^~~~~~~~~~ configure:11956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 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:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11956: $? = 0 configure:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11956: $? = 0 configure:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11956: $? = 0 configure:11956: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11956: $? = 0 configure:11970: result: 8 configure:11984: checking whether basename is declared configure:11984: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11984: $? = 0 configure:11984: result: yes configure:11994: checking whether ffs is declared configure:11994: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:11994: $? = 0 configure:11994: result: yes configure:12004: checking whether asprintf is declared configure:12004: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12004: $? = 0 configure:12004: result: yes configure:12014: checking whether vasprintf is declared configure:12014: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12014: $? = 0 configure:12014: result: yes configure:12024: checking whether snprintf is declared configure:12024: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12024: $? = 0 configure:12024: result: yes configure:12034: checking whether vsnprintf is declared configure:12034: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12034: $? = 0 configure:12034: result: yes configure:12045: checking whether strtol is declared configure:12045: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12045: $? = 0 configure:12045: result: yes configure:12055: checking whether strtoul is declared configure:12055: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12055: $? = 0 configure:12055: result: yes configure:12065: checking whether strtoll is declared configure:12065: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12065: $? = 0 configure:12065: result: yes configure:12075: checking whether strtoull is declared configure:12075: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12075: $? = 0 configure:12075: result: yes configure:12086: checking whether strverscmp is declared configure:12086: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12086: $? = 0 configure:12086: result: yes configure:12099: checking whether snprintf is declared configure:12099: result: yes configure:12111: checking for LC_MESSAGES configure:12127: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12127: $? = 0 configure:12135: result: yes configure:12148: checking for socklen_t configure:12148: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12148: $? = 0 configure:12148: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:89:24: error: expected expression before ')' token 89 | if (sizeof ((socklen_t))) | ^ configure:12148: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | /* end confdefs.h. */ | #include | #if HAVE_SYS_SOCKET_H | # include | #elif HAVE_WS2TCPIP_H | # include | #endif | | | int | main () | { | if (sizeof ((socklen_t))) | return 0; | ; | return 0; | } configure:12148: result: yes configure:12170: checking for an ANSI C-conforming const configure:12236: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12236: $? = 0 configure:12243: result: yes configure:12251: checking for inline configure:12267: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12267: $? = 0 configure:12275: result: inline configure:12293: checking whether byte ordering is bigendian configure:12308: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:80:9: error: unknown type name 'not' 80 | not a universal capable compiler | ^~~ conftest.c:80:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' 80 | not a universal capable compiler | ^~~~~~~~~ conftest.c:80:15: error: unknown type name 'universal' configure:12308: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | /* end confdefs.h. */ | #ifndef __APPLE_CC__ | not a universal capable compiler | #endif | typedef int dummy; | configure:12353: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12353: $? = 0 configure:12371: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:86:4: error: unknown type name 'not'; did you mean 'ino_t'? 86 | not big endian | ^~~ | ino_t conftest.c:86:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' 86 | not big endian | ^~~~~~ configure:12371: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:12499: result: no configure:12531: checking for getuid configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for getgid configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for pipe configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for pread configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for pread64 configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for pwrite configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for resize_term configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for getpgid configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for setsid configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for sigaction configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for sigsetmask configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/ccEMDKL5.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `sigsetmask' collect2: error: ld returned 1 exit status configure:12531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | /* end confdefs.h. */ | /* Define sigsetmask to an innocuous variant, in case declares sigsetmask. | For example, HP-UX 11i declares gettimeofday. */ | #define sigsetmask innocuous_sigsetmask | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sigsetmask (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sigsetmask | | /* 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 sigsetmask (); | /* 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_sigsetmask || defined __stub___sigsetmask | choke me | #endif | | int | main () | { | return sigsetmask (); | ; | return 0; | } configure:12531: result: no configure:12531: checking for socketpair configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for ttrace configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/ccYCcYXp.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ttrace' collect2: error: ld returned 1 exit status configure:12531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | /* end confdefs.h. */ | /* Define ttrace to an innocuous variant, in case declares ttrace. | For example, HP-UX 11i declares gettimeofday. */ | #define ttrace innocuous_ttrace | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char ttrace (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef ttrace | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char ttrace (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_ttrace || defined __stub___ttrace | choke me | #endif | | int | main () | { | return ttrace (); | ; | return 0; | } configure:12531: result: no configure:12531: checking for wborder configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for wresize configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for setlocale configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for iconvlist configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/ccjJcC2X.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `iconvlist' collect2: error: ld returned 1 exit status configure:12531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | /* Define iconvlist to an innocuous variant, in case declares iconvlist. | For example, HP-UX 11i declares gettimeofday. */ | #define iconvlist innocuous_iconvlist | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char iconvlist (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef iconvlist | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char iconvlist (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_iconvlist || defined __stub___iconvlist | choke me | #endif | | int | main () | { | return iconvlist (); | ; | return 0; | } configure:12531: result: no configure:12531: checking for libiconvlist configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/cchHWnIv.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `libiconvlist' collect2: error: ld returned 1 exit status configure:12531: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | /* Define libiconvlist to an innocuous variant, in case declares libiconvlist. | For example, HP-UX 11i declares gettimeofday. */ | #define libiconvlist innocuous_libiconvlist | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char libiconvlist (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef libiconvlist | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char libiconvlist (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_libiconvlist || defined __stub___libiconvlist | choke me | #endif | | int | main () | { | return libiconvlist (); | ; | return 0; | } configure:12531: result: no configure:12531: checking for btowc configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for setrlimit configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for getrlimit configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for posix_madvise configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for waitpid configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12531: checking for use_default_colors configure:12531: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12531: $? = 0 configure:12531: result: yes configure:12541: checking for nl_langinfo and CODESET configure:12557: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12557: $? = 0 configure:12566: result: yes configure:12574: checking for size_t configure:12574: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12574: $? = 0 configure:12574: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:136:21: error: expected expression before ')' token 136 | if (sizeof ((size_t))) | ^ configure:12574: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 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:12574: result: yes configure:12591: checking for stdlib.h configure:12591: result: yes configure:12591: checking for unistd.h configure:12591: result: yes configure:12591: checking for sys/param.h configure:12591: result: yes configure:12608: checking for pid_t configure:12608: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:12608: $? = 0 configure:12608: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:139:20: error: expected expression before ')' token 139 | if (sizeof ((pid_t))) | ^ configure:12608: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | /* end confdefs.h. */ | #include | #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:12608: result: yes configure:12619: checking for a sed that does not truncate output configure:12683: result: /usr/bin/sed configure:12692: checking for ANSI C header files configure:12796: result: yes configure:12806: checking for working alloca.h configure:12823: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12823: $? = 0 configure:12831: result: yes configure:12839: checking for alloca configure:12876: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:12876: $? = 0 configure:12884: result: yes configure:13002: checking for nl_langinfo and CODESET configure:13027: result: yes configure:13039: checking linux/perf_event.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking linux/perf_event.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for linux/perf_event.h configure:13039: result: yes configure:13039: checking locale.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking locale.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for locale.h configure:13039: result: yes configure:13039: checking for memory.h configure:13039: result: yes configure:13039: checking signal.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking signal.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for signal.h configure:13039: result: yes configure:13039: checking for sys/resource.h configure:13039: result: yes configure:13039: checking for sys/socket.h configure:13039: result: yes configure:13039: checking sys/un.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking sys/un.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for sys/un.h configure:13039: result: yes configure:13039: checking sys/wait.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking sys/wait.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for sys/wait.h configure:13039: result: yes configure:13039: checking for thread_db.h configure:13039: result: no configure:13039: checking wait.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 In file included from conftest.c:148: /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:13039: $? = 0 configure:13039: result: yes configure:13039: checking wait.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c In file included from conftest.c:115: /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:13039: $? = 0 configure:13039: result: yes configure:13039: checking for wait.h configure:13039: result: yes configure:13039: checking for termios.h configure:13039: result: yes configure:13039: checking for dlfcn.h configure:13039: result: yes configure:13039: checking linux/elf.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking linux/elf.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for linux/elf.h configure:13039: result: yes configure:13039: checking proc_service.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:152:10: fatal error: proc_service.h: No such file or directory 152 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:13039: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_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:13039: result: no configure:13039: checking proc_service.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:119:10: fatal error: proc_service.h: No such file or directory 119 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:13039: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | /* end confdefs.h. */ | #include configure:13039: result: no configure:13039: checking for proc_service.h configure:13039: result: no configure:13039: checking poll.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking poll.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for poll.h configure:13039: result: yes configure:13039: checking sys/poll.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 In file included from conftest.c:153: /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:13039: $? = 0 configure:13039: result: yes configure:13039: checking sys/poll.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c In file included from conftest.c:120: /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:13039: $? = 0 configure:13039: result: yes configure:13039: checking for sys/poll.h configure:13039: result: yes configure:13039: checking sys/select.h usability configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking sys/select.h presence configure:13039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:13039: $? = 0 configure:13039: result: yes configure:13039: checking for sys/select.h configure:13039: result: yes configure:13053: checking for getpagesize configure:13053: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13053: $? = 0 configure:13053: result: yes configure:13062: checking for working mmap configure:13219: result: no configure:13230: checking vfork.h usability configure:13230: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:156:10: fatal error: vfork.h: No such file or directory 156 | #include | ^~~~~~~~~ compilation terminated. configure:13230: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_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:13230: result: no configure:13230: checking vfork.h presence configure:13230: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c conftest.c:123:10: fatal error: vfork.h: No such file or directory 123 | #include | ^~~~~~~~~ compilation terminated. configure:13230: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_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:13230: result: no configure:13230: checking for vfork.h configure:13230: result: no configure:13243: checking for fork configure:13243: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 conftest.c:146:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] 146 | char fork (); | ^~~~ configure:13243: $? = 0 configure:13243: result: yes configure:13243: checking for vfork configure:13243: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13243: $? = 0 configure:13243: result: yes configure:13253: checking for working fork configure:13285: result: cross configure:13301: WARNING: result yes guessed because of cross compilation configure:13306: checking for working vfork configure:13416: result: yes configure:13446: checking for fdwalk configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/ccO77im6.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `fdwalk' collect2: error: ld returned 1 exit status configure:13446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_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:13446: result: no configure:13446: checking for getrlimit configure:13446: result: yes configure:13446: checking for pipe configure:13446: result: yes configure:13446: checking for pipe2 configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for poll configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for socketpair configure:13446: result: yes configure:13446: checking for sigaction configure:13446: result: yes configure:13446: checking for ptrace64 configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/ccmgSttp.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `ptrace64' collect2: error: ld returned 1 exit status configure:13446: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #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:13446: result: no configure:13446: checking for sbrk configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for setns configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for sigaltstack configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for sigprocmask configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for setpgid configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for setpgrp configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for getrusage configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13446: checking for getauxval configure:13446: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13446: $? = 0 configure:13446: result: yes configure:13456: checking whether ADDR_NO_RANDOMIZE is declared configure:13456: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13456: $? = 0 configure:13456: result: yes configure:13488: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:13488: $? = 0 configure:13530: checking whether strstr is declared configure:13530: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13530: $? = 0 configure:13530: result: yes configure:13546: checking for struct stat.st_blocks configure:13546: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13546: $? = 0 configure:13546: result: yes configure:13555: checking for struct stat.st_blksize configure:13555: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:13555: $? = 0 configure:13555: result: yes configure:13566: checking for library containing kinfo_getfile configure:13597: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&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/ccfOvLat.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:13597: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:13597: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lutil -lncursesw -lm >&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/ccB0HQLY.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `kinfo_getfile' collect2: error: ld returned 1 exit status configure:13597: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:13597: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lutil-freebsd -lncursesw -lm >&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:13597: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 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:13614: result: no configure:13816: checking whether /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc is Clang configure:13841: result: no configure:13964: checking whether pthreads work with -pthread configure:14058: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -pthread -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:14058: $? = 0 configure:14067: result: yes configure:14086: checking for joinable pthread attribute configure:14104: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -pthread -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:14104: $? = 0 configure:14112: result: PTHREAD_CREATE_JOINABLE configure:14126: checking whether more special flags are required for pthreads configure:14139: result: no configure:14147: checking for PTHREAD_PRIO_INHERIT configure:14163: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -pthread -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm >&5 configure:14163: $? = 0 configure:14172: result: yes configure:14277: checking for std::thread configure:14294: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:14294: $? = 0 configure:14301: result: yes configure:14309: checking for pthread_sigmask configure:14309: /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 -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp -lncursesw -lm >&5 configure:14309: $? = 0 configure:14309: result: yes configure:14309: checking for pthread_setname_np configure:14309: /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 -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp -lncursesw -lm >&5 configure:14309: $? = 0 configure:14309: result: yes configure:14334: checking for sigsetjmp configure:14352: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14352: $? = 0 configure:14359: result: yes configure:14375: checking whether to use intel pt configure:14377: result: auto configure:14394: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:14394: $? = 0 configure:14834: checking for libipt configure:14853: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm -lipt >&5 conftest.c:151:10: fatal error: intel-pt.h: No such file or directory 151 | #include "intel-pt.h" | ^~~~~~~~~~~~ compilation terminated. configure:14853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_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:14863: result: no configure:14890: WARNING: libipt is missing or unusable; some features may be unavailable. configure:14937: checking sys/procfs.h usability configure:14937: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14937: $? = 0 configure:14937: result: yes configure:14937: checking sys/procfs.h presence configure:14937: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c configure:14937: $? = 0 configure:14937: result: yes configure:14937: checking for sys/procfs.h configure:14937: result: yes configure:14949: checking for gregset_t in sys/procfs.h configure:14967: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:14967: $? = 0 configure:14981: result: yes configure:14985: checking for fpregset_t in sys/procfs.h configure:15003: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15003: $? = 0 configure:15017: result: yes configure:15021: checking for prgregset_t in sys/procfs.h configure:15039: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15039: $? = 0 configure:15053: result: yes configure:15057: checking for prfpregset_t in sys/procfs.h configure:15075: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15075: $? = 0 configure:15089: result: yes configure:15093: checking for prgregset32_t in sys/procfs.h configure:15111: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:163:1: error: unknown type name 'prgregset32_t'; did you mean 'prgregset_t'? 163 | prgregset32_t avar | ^~~~~~~~~~~~~ | prgregset_t configure:15111: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_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:15125: result: no configure:15129: checking for lwpid_t in sys/procfs.h configure:15147: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15147: $? = 0 configure:15161: result: yes configure:15165: checking for psaddr_t in sys/procfs.h configure:15183: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15183: $? = 0 configure:15197: result: yes configure:15201: checking for elf_fpregset_t in sys/procfs.h configure:15219: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15219: $? = 0 configure:15233: result: yes configure:15245: checking for sys/ptrace.h configure:15245: result: yes configure:15245: checking for ptrace.h configure:15245: result: no configure:15268: checking return type of ptrace configure:15284: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:173:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration 173 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~~~~~~~~~~~ conftest.c:173:13: error: conflicting types for 'ptrace' 173 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~ In file included from conftest.c:164: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15284: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:15298: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:173:12: error: conflicting types for 'ptrace' 173 | extern int ptrace (); | ^~~~~~ In file included from conftest.c:164: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15298: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_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:15307: result: long configure:15315: checking types of arguments for ptrace configure:15332: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:26: warning: 'enum __ptrace_request' declared inside parameter list will not be visible outside of this definition or declaration 174 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~~~~~~~~~~~ conftest.c:174:13: error: conflicting types for 'ptrace' 174 | extern long ptrace (enum __ptrace_request, ...); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15332: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, pid_t, void *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, int, void *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (int, long, void *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, pid_t, void *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, int, void *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, caddr_t, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, int, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, int, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, int, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, int, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, long, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, long, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, long, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15354: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, void *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, void *, int *); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, void *, int); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15374: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:176:3: error: conflicting types for 'ptrace' 176 | ptrace (long, long, void *, void *, long); | ^~~~~~ In file included from conftest.c:165: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/ptrace.h:133:6: note: previous declaration of 'ptrace' was here 133 | long ptrace(int, ...); | ^~~~~~ configure:15374: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_T 1 | #define HAVE_PSADDR_T 1 | #define HAVE_ELF_FPREGSET_T 1 | #define HAVE_SYS_PTRACE_H 1 | #define PTRACE_TYPE_RET 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:15391: result: int,int,long,long configure:15463: checking whether setpgrp takes no argument configure:15486: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:172:7: error: too many arguments to function 'setpgrp' 172 | if (setpgrp(1,1) == -1) | ^~~~~~~ In file included from conftest.c:166: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/unistd.h:142:7: note: declared here 142 | pid_t setpgrp(void); | ^~~~~~~ conftest.c:173:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 173 | exit (0); | ^~~~ conftest.c:173:5: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:167:1: note: include '' or provide a declaration of 'exit' 166 | #include 167 | conftest.c:175:5: warning: incompatible implicit declaration of built-in function 'exit' 175 | exit (1); | ^~~~ conftest.c:175:5: note: include '' or provide a declaration of 'exit' configure:15486: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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. */ | | #include | | int | main () | { | | if (setpgrp(1,1) == -1) | exit (0); | else | exit (1); | | ; | return 0; | } configure:15493: result: yes configure:15506: checking for GNU regex configure:15525: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:166:10: fatal error: gnu-versions.h: No such file or directory 166 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. configure:15525: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | /* end confdefs.h. */ | #include | int | main () | { | #define REGEX_INTERFACE_VERSION 1 | #if _GNU_REGEX_INTERFACE_VERSION != REGEX_INTERFACE_VERSION | # error "Version mismatch" | #endif | ; | return 0; | } configure:15532: result: no configure:15553: checking for struct thread.td_pcb configure:15553: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: sys/proc.h: No such file or directory 168 | #include | ^~~~~~~~~~~~ compilation terminated. configure:15553: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | | | int | main () | { | static struct thread ac_aggr; | if (ac_aggr.td_pcb) | return 0; | ; | return 0; | } configure:15553: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: sys/proc.h: No such file or directory 168 | #include | ^~~~~~~~~~~~ compilation terminated. configure:15553: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | | | int | main () | { | static struct thread ac_aggr; | if (sizeof ac_aggr.td_pcb) | return 0; | ; | return 0; | } configure:15553: result: no configure:15568: checking for struct lwp configure:15586: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:169:10: fatal error: sys/lwp.h: No such file or directory 169 | #include | ^~~~~~~~~~~ compilation terminated. configure:15586: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #define _KMEMUSER | #include | int | main () | { | struct lwp l; | ; | return 0; | } configure:15593: result: no configure:15602: checking for struct reg in machine/reg.h configure:15619: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: machine/reg.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:15619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | struct reg r; | ; | return 0; | } configure:15626: result: no configure:15636: checking for struct reg.r_fs configure:15636: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: machine/reg.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:15636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | static struct reg ac_aggr; | if (ac_aggr.r_fs) | return 0; | ; | return 0; | } configure:15636: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: machine/reg.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:15636: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | static struct reg ac_aggr; | if (sizeof ac_aggr.r_fs) | return 0; | ; | return 0; | } configure:15636: result: no configure:15647: checking for struct reg.r_gs configure:15647: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: machine/reg.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:15647: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | static struct reg ac_aggr; | if (ac_aggr.r_gs) | return 0; | ; | return 0; | } configure:15647: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c:168:10: fatal error: machine/reg.h: No such file or directory 168 | #include | ^~~~~~~~~~~~~~~ compilation terminated. configure:15647: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | /* end confdefs.h. */ | #include | #include | | int | main () | { | static struct reg ac_aggr; | if (sizeof ac_aggr.r_gs) | return 0; | ; | return 0; | } configure:15647: result: no configure:15661: checking for PTRACE_GETREGS configure:15677: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15677: $? = 0 configure:15685: result: yes configure:15694: checking for PTRACE_GETFPXREGS configure:15710: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15710: $? = 0 configure:15718: result: yes configure:15727: checking for PT_GETDBREGS configure:15744: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:1: error: 'PT_GETDBREGS' undeclared (first use in this function); did you mean 'PT_GETREGS'? 174 | PT_GETDBREGS; | ^~~~~~~~~~~~ | PT_GETREGS conftest.c:174:1: note: each undeclared identifier is reported only once for each function it appears in configure:15744: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | PT_GETDBREGS; | ; | return 0; | } configure:15752: result: no configure:15761: checking for PT_GETXMMREGS configure:15778: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:1: error: 'PT_GETXMMREGS' undeclared (first use in this function); did you mean 'PT_GETFPXREGS'? 174 | PT_GETXMMREGS; | ^~~~~~~~~~~~~ | PT_GETFPXREGS conftest.c:174:1: note: each undeclared identifier is reported only once for each function it appears in configure:15778: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | #include | int | main () | { | PT_GETXMMREGS; | ; | return 0; | } configure:15786: result: no configure:15797: checking for struct ptrace_lwpinfo.pl_tdname configure:15797: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:30: error: storage size of 'ac_aggr' isn't known 174 | static struct ptrace_lwpinfo ac_aggr; | ^~~~~~~ configure:15797: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | | int | main () | { | static struct ptrace_lwpinfo ac_aggr; | if (ac_aggr.pl_tdname) | return 0; | ; | return 0; | } configure:15797: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:30: error: storage size of 'ac_aggr' isn't known 174 | static struct ptrace_lwpinfo ac_aggr; | ^~~~~~~ configure:15797: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | | int | main () | { | static struct ptrace_lwpinfo ac_aggr; | if (sizeof ac_aggr.pl_tdname) | return 0; | ; | return 0; | } configure:15797: result: no configure:15812: checking for struct ptrace_lwpinfo.pl_syscall_code configure:15812: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:30: error: storage size of 'ac_aggr' isn't known 174 | static struct ptrace_lwpinfo ac_aggr; | ^~~~~~~ configure:15812: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | | int | main () | { | static struct ptrace_lwpinfo ac_aggr; | if (ac_aggr.pl_syscall_code) | return 0; | ; | return 0; | } configure:15812: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 conftest.c: In function 'main': conftest.c:174:30: error: storage size of 'ac_aggr' isn't known 174 | static struct ptrace_lwpinfo ac_aggr; | ^~~~~~~ configure:15812: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | /* end confdefs.h. */ | #include | | int | main () | { | static struct ptrace_lwpinfo ac_aggr; | if (sizeof ac_aggr.pl_syscall_code) | return 0; | ; | return 0; | } configure:15812: result: no configure:15826: checking for long long support in compiler configure:15842: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15842: $? = 0 configure:15849: result: yes configure:15858: checking for long long support in printf configure:15894: result: no configure:15904: checking for decfloat support in printf configure:15938: result: no configure:15951: checking for long double support in compiler configure:15960: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c >&5 configure:15960: $? = 0 configure:15967: result: yes configure:15977: checking for long double support in printf configure:16009: result: no configure:16019: checking for long double support in scanf configure:16051: result: no configure:16102: checking for the dynamic export flag configure:16125: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include -Wl,--dynamic-list=../../gdb/proc-service.list conftest.c -lncursesw -lm >&5 configure:16125: $? = 0 configure:16186: result: -Wl,--dynamic-list configure:16605: checking compiler warning flags configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wall -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wpointer-arith -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused-value -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16651: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused-variable -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16651: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused-function -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wswitch -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wchar-subscripts -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wempty-body -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused-but-set-parameter -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wunused-but-set-variable -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wsign-compare -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Werror=maybe-uninitialized -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wmismatched-tags -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Werror=deprecated-register -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 cc1plus: error: '-Werror=deprecated-register': no option '-Wdeprecated-register'; did you mean '-Wdeprecated-copy-dtor'? configure:16667: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_LONG_DOUBLE 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_RELOCATABLE 0 | #define SYSTEM_GDBINIT_DIR "" | #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wsuggest-override -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wimplicit-fallthrough=3 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wduplicated-cond -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wshadow=local -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wdeprecated-copy -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wdeprecated-copy-dtor -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wredundant-move -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wmissing-declarations -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wmissing-prototypes -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include 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:16667: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_LONG_DOUBLE 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_RELOCATABLE 0 | #define SYSTEM_GDBINIT_DIR "" | #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wstrict-null-sentinel -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16667: /tmp/instance-0/output-1/host/bin/riscv64-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -Wformat -Wformat-nonliteral -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.cpp >&5 configure:16667: $? = 0 configure:16676: 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:16748: checking for cygwin configure:16769: result: no configure:16809: checking for ELF support in BFD configure:16828: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -I../../gdb/../include -I../bfd -I../../gdb/../bfd -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include -L../bfd -L../libiberty -L../zlib conftest.c -lbfd -liberty -lz -lncursesw -lm >&5 In file included from conftest.c:179: ../../gdb/../bfd/elf-bfd.h: In function 'bfd_section_is_ctf': ../../gdb/../bfd/elf-bfd.h:3085:10: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 3085 | return strncmp (name, ".ctf", 4) == 0 && (name[4] == 0 || name[4] == '.'); | ^~~~~~~ ../../gdb/../bfd/elf-bfd.h:3085:33: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 3085 | return strncmp (name, ".ctf", 4) == 0 && (name[4] == 0 || name[4] == '.'); | ^ : note: built-in 'strncmp' declared here configure:16828: $? = 0 configure:16836: result: yes configure:16848: checking for library containing dlopen configure:16896: result: none required configure:16920: checking for Mach-O support in BFD configure:16939: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -I../../gdb/../include -I../bfd -I../../gdb/../bfd -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include -L../bfd -L../libiberty -L../zlib conftest.c -lbfd -liberty -lz -lncursesw -lm >&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/ccZuXdPF.o: in function `main': conftest.c:(.text.startup+0xc): undefined reference to `bfd_mach_o_lookup_command' collect2: error: ld returned 1 exit status configure:16939: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_LONG_DOUBLE 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_RELOCATABLE 0 | #define SYSTEM_GDBINIT_DIR "" | #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0 | #define HAVE_ELF 1 | /* end confdefs.h. */ | #include | #include "bfd.h" | #include "mach-o.h" | | int | main () | { | return bfd_mach_o_lookup_command (NULL, 0, NULL); | ; | return 0; | } configure:16947: result: no configure:16969: checking whether to use lzma configure:16971: result: yes configure:17400: checking for liblzma configure:17421: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblzma.so -lpthread -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib >&5 configure:17421: $? = 0 configure:17431: result: yes configure:17438: checking how to link with liblzma configure:17440: result: /tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblzma.so -lpthread -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib configure:17987: checking for X configure:18165: result: disabled configure:18299: checking whether to use babeltrace configure:18301: result: auto configure:18741: checking for libbabeltrace configure:18771: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -Werror -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm -lbabeltrace -lbabeltrace-ctf >&5 conftest.c:183:10: fatal error: babeltrace/babeltrace.h: No such file or directory 183 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:18771: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_LONG_DOUBLE 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_RELOCATABLE 0 | #define SYSTEM_GDBINIT_DIR "" | #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0 | #define HAVE_ELF 1 | #define HAVE_LIBLZMA 1 | #define GDB_HOST_FLOAT_FORMAT 0 | #define GDB_HOST_DOUBLE_FORMAT 0 | #define GDB_HOST_LONG_DOUBLE_FORMAT 0 | #define GDB_OSABI_DEFAULT GDB_OSABI_LINUX | /* end confdefs.h. */ | #include | #include | #include | int | main () | { | struct bt_iter_pos *pos = bt_iter_get_pos (bt_ctf_get_iter (NULL)); | struct bt_ctf_event *event = NULL; | const struct bt_definition *scope; | | pos->type = BT_SEEK_BEGIN; | bt_iter_set_pos (bt_ctf_get_iter (NULL), pos); | scope = bt_ctf_get_top_level_scope (event, | BT_STREAM_EVENT_HEADER); | bt_ctf_get_uint64 (bt_ctf_get_field (event, scope, "id")); | | ; | return 0; | } configure:18781: result: no configure:18810: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data. configure:19287: checking for libxxhash configure:19307: /tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include conftest.c -lncursesw -lm -lxxhash >&5 conftest.c:184:10: fatal error: xxhash.h: No such file or directory 184 | #include | ^~~~~~~~~~ compilation terminated. configure:19307: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define HAVE_CXX11 1 | #define PACKAGE "gdb" | #define DEBUGDIR "/usr/lib/debug" | #define DEBUGDIR_RELOCATABLE 1 | #define BINDIR "/usr/bin" | #define GDB_DATADIR "/usr/share/gdb" | #define GDB_DATADIR_RELOCATABLE 1 | #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" | #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" | #define DEFAULT_BFD_ARCH bfd_riscv_arch | #define DEFAULT_BFD_VEC riscv_elf64_vec | #define HAVE__ETEXT 1 | #define HAVE_ETEXT 1 | #define PKGVERSION "(GDB) " | #define REPORT_BUGS_TO "" | #define HAVE_LIBM 1 | #define HAVE_ICONV 1 | #define ICONV_CONST | #define SIZEOF_UNSIGNED_LONG_LONG 8 | #define SIZEOF_UNSIGNED_LONG 8 | #define SIZEOF_UNSIGNED___INT128 16 | #define JIT_READER_DIR "/usr/lib/gdb" | #define JIT_READER_DIR_RELOCATABLE 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_XML_STOPPARSER 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_PTRACE_H 1 | #define HAVE_SYS_REG_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_SYS_USER_H 1 | #define HAVE_CURSES_H 1 | #define HAVE_NCURSES_H 1 | #define HAVE_TERM_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_LONG_LONG 1 | #define SIZEOF_LONG_LONG 8 | #define HAVE_DECL_BASENAME 1 | #define HAVE_DECL_FFS 1 | #define HAVE_DECL_ASPRINTF 1 | #define HAVE_DECL_VASPRINTF 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_DECL_VSNPRINTF 1 | #define HAVE_DECL_STRTOL 1 | #define HAVE_DECL_STRTOUL 1 | #define HAVE_DECL_STRTOLL 1 | #define HAVE_DECL_STRTOULL 1 | #define HAVE_DECL_STRVERSCMP 1 | #define HAVE_DECL_SNPRINTF 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_SOCKLEN_T 1 | #define HAVE_GETUID 1 | #define HAVE_GETGID 1 | #define HAVE_PIPE 1 | #define HAVE_PREAD 1 | #define HAVE_PREAD64 1 | #define HAVE_PWRITE 1 | #define HAVE_RESIZE_TERM 1 | #define HAVE_GETPGID 1 | #define HAVE_SETSID 1 | #define HAVE_SIGACTION 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_WBORDER 1 | #define HAVE_WRESIZE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_BTOWC 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_WAITPID 1 | #define HAVE_USE_DEFAULT_COLORS 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_STDLIB_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_PARAM_H 1 | #define STDC_HEADERS 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_ALLOCA 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_LINUX_PERF_EVENT_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_WAIT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LINUX_ELF_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_FORK 1 | #define HAVE_VFORK 1 | #define HAVE_WORKING_VFORK 1 | #define HAVE_WORKING_FORK 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_PIPE 1 | #define HAVE_PIPE2 1 | #define HAVE_POLL 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_SIGACTION 1 | #define HAVE_SBRK 1 | #define HAVE_SETNS 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_SIGPROCMASK 1 | #define HAVE_SETPGID 1 | #define HAVE_SETPGRP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETAUXVAL 1 | #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 | #define HAVE_PERSONALITY 1 | #define HAVE_DECL_STRSTR 1 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | #define HAVE_PTHREAD_PRIO_INHERIT 1 | #define HAVE_PTHREAD_SIGMASK 1 | #define HAVE_PTHREAD_SETNAME_NP 1 | #define CXX_STD_THREAD 1 | #define HAVE_SIGSETJMP 1 | #define _STRUCTURED_PROC 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_GREGSET_T 1 | #define HAVE_FPREGSET_T 1 | #define HAVE_PRGREGSET_T 1 | #define HAVE_PRFPREGSET_T 1 | #define HAVE_LWPID_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 SETPGRP_VOID 1 | #define USE_INCLUDED_REGEX 1 | #define HAVE_PTRACE_GETREGS 1 | #define HAVE_PTRACE_GETFPXREGS 1 | #define HAVE_LONG_DOUBLE 1 | #define GDBINIT ".gdbinit" | #define TARGET_SYSTEM_ROOT "" | #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 | #define SYSTEM_GDBINIT "" | #define SYSTEM_GDBINIT_RELOCATABLE 0 | #define SYSTEM_GDBINIT_DIR "" | #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0 | #define HAVE_ELF 1 | #define HAVE_LIBLZMA 1 | #define GDB_HOST_FLOAT_FORMAT 0 | #define GDB_HOST_DOUBLE_FORMAT 0 | #define GDB_HOST_LONG_DOUBLE_FORMAT 0 | #define GDB_OSABI_DEFAULT GDB_OSABI_LINUX | #define ENABLE_LIBCTF 1 | /* end confdefs.h. */ | #include | int | main () | { | XXH32("foo", 3, 0); | | ; | return 0; | } configure:19317: result: no configure:19350: checking whether to use xxhash configure:19352: result: no configure:19378: checking for xsltproc configure:19396: found /usr/bin/xsltproc configure:19408: result: /usr/bin/xsltproc configure:19547: updating cache ./config.cache configure:19609: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on ns3195860 config.status:1215: creating jit-reader.h config.status:1215: creating gcore config.status:1215: creating Makefile config.status:1215: creating gdb-gdb.gdb config.status:1215: creating gdb-gdb.py config.status:1215: creating doc/Makefile config.status:1215: creating data-directory/Makefile config.status:1215: creating config.h config.status:1406: linking ../../gdb/config/nm-linux.h to nm.h config.status:1425: executing depdir commands configure:20944: === configuring in testsuite (/tmp/instance-0/output-1/build/gdb-10.1/build/gdb/testsuite) configure:21007: running /bin/bash ../../../gdb/testsuite/configure --disable-option-checking '--prefix=/usr' '--exec-prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-gtk-doc' '--disable-gtk-doc-html' '--disable-doc' '--disable-docs' '--disable-documentation' '--with-xmlto=no' '--with-fop=no' '--disable-dependency-tracking' '--enable-ipv6' '--disable-nls' '--disable-static' '--enable-shared' '--without-uiout' '--disable-gdbtk' '--without-x' '--disable-sim' '--disable-binutils' '--disable-install-libbfd' '--disable-ld' '--disable-gas' '--disable-gprof' '--without-included-gettext' '--disable-werror' '--enable-static' '--without-mpfr' '--enable-gdb' '--with-curses' '--disable-gdbserver' '--disable-tui' '--without-python' '--with-expat' '--with-libexpat-prefix=/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr' '--with-lzma' '--with-liblzma-prefix=/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr' '--with-zlib' '--program-transform-name=s&^&&' '--build=x86_64-pc-linux-gnu' '--host=riscv64-buildroot-linux-musl' '--target=riscv64-buildroot-linux-musl' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=riscv64-buildroot-linux-musl' 'target_alias=riscv64-buildroot-linux-musl' 'CC=/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'LDFLAGS= ' 'CXX=/tmp/instance-0/output-1/host/bin/riscv64-linux-g++' 'CXXFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' 'MAKEINFO=true --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=../../../gdb/testsuite ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/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 -g0 ' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=/tmp/instance-0/output-1/host/bin/riscv64-linux-g++ ac_cv_env_DEBUGINFOD_CFLAGS_set= ac_cv_env_DEBUGINFOD_CFLAGS_value= ac_cv_env_DEBUGINFOD_LIBS_set= ac_cv_env_DEBUGINFOD_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_MAKEINFOFLAGS_set= ac_cv_env_MAKEINFOFLAGS_value= ac_cv_env_MAKEINFO_set=set ac_cv_env_MAKEINFO_value='true --split-size=5000000' ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_YACC_set=set ac_cv_env_YACC_value='bison -y' ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=riscv64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-musl ac_cv_func_XML_StopParser=yes ac_cv_func__mcleanup=no ac_cv_func_alloca_works=yes ac_cv_func_btowc=yes ac_cv_func_fdwalk=no ac_cv_func_fork=yes ac_cv_func_fork_works=yes ac_cv_func_getauxval=yes ac_cv_func_getgid=yes ac_cv_func_getpagesize=yes ac_cv_func_getpgid=yes ac_cv_func_getrlimit=yes ac_cv_func_getrusage=yes ac_cv_func_getuid=yes ac_cv_func_iconvlist=no ac_cv_func_libiconvlist=no ac_cv_func_mmap_fixed_mapped=no ac_cv_func_monstartup=no ac_cv_func_pipe2=yes ac_cv_func_pipe=yes ac_cv_func_poll=yes ac_cv_func_posix_madvise=yes ac_cv_func_pread64=yes ac_cv_func_pread=yes ac_cv_func_pthread_setname_np=yes ac_cv_func_pthread_sigmask=yes ac_cv_func_ptrace64=no ac_cv_func_pwrite=yes ac_cv_func_resize_term=yes ac_cv_func_sbrk=yes ac_cv_func_setlocale=yes ac_cv_func_setns=yes ac_cv_func_setpgid=yes ac_cv_func_setpgrp=yes ac_cv_func_setpgrp_void=yes ac_cv_func_setrlimit=yes ac_cv_func_setsid=yes ac_cv_func_sigaction=yes ac_cv_func_sigaltstack=yes ac_cv_func_sigprocmask=yes ac_cv_func_sigsetmask=no ac_cv_func_socketpair=yes ac_cv_func_ttrace=no ac_cv_func_use_default_colors=yes ac_cv_func_vfork=yes ac_cv_func_vfork_works=yes ac_cv_func_waitpid=yes ac_cv_func_wborder=yes ac_cv_func_wresize=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_cursesX_h=no ac_cv_header_curses_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_elf_hp_h=no ac_cv_header_inttypes_h=yes ac_cv_header_libunwind_ia64_h=no ac_cv_header_linux_elf_h=yes ac_cv_header_linux_perf_event_h=yes ac_cv_header_locale_h=yes ac_cv_header_machine_reg_h=no ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_ncurses_h=yes ac_cv_header_ncurses_ncurses_h=no ac_cv_header_ncurses_term_h=no ac_cv_header_ncursesw_ncurses_h=no ac_cv_header_nlist_h=no ac_cv_header_poll_h=yes ac_cv_header_proc_service_h=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_debugreg_h=no ac_cv_header_sys_file_h=yes ac_cv_header_sys_filio_h=no ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_poll_h=yes ac_cv_header_sys_procfs_h=yes ac_cv_header_sys_ptrace_h=yes ac_cv_header_sys_reg_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_un_h=yes ac_cv_header_sys_user_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_term_h=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_header_ws2tcpip_h=no ac_cv_host=riscv64-buildroot-linux-musl ac_cv_lib_m_main=yes ac_cv_libbabeltrace=no ac_cv_libexpat=yes ac_cv_libipt=no ac_cv_liblzma=yes ac_cv_libxxhash=no ac_cv_member_struct_ptrace_lwpinfo_pl_syscall_code=no ac_cv_member_struct_ptrace_lwpinfo_pl_tdname=no ac_cv_member_struct_reg_r_fs=no ac_cv_member_struct_reg_r_gs=no ac_cv_member_struct_stat_st_blksize=yes ac_cv_member_struct_stat_st_blocks=yes ac_cv_member_struct_thread_td_pcb=no ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_XSLTPROC=/usr/bin/xsltproc ac_cv_path_ac_pt_PKG_CONFIG=/tmp/instance-0/output-1/host/bin/pkg-config ac_cv_path_pkg_config_prog_path=/tmp/instance-0/output-1/host/bin/pkg-config ac_cv_prog_AR=/tmp/instance-0/output-1/host/bin/riscv64-linux-ar 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_DLLTOOL=riscv64-buildroot-linux-musl-dlltool ac_cv_prog_RANLIB=/tmp/instance-0/output-1/host/bin/riscv64-linux-ranlib ac_cv_prog_WINDRES=riscv64-buildroot-linux-musl-windres ac_cv_prog_YACC='bison -y' 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_safe_to_define___extensions__=yes ac_cv_search_dlopen='none required' ac_cv_search_dlsym='none required' ac_cv_search_gethostbyname='none required' ac_cv_search_kinfo_getfile=no ac_cv_search_kinfo_getvmmap=no ac_cv_search_socketpair='none required' ac_cv_search_tgetent='none required' ac_cv_search_waddstr=-lncursesw ac_cv_sizeof_long_long=8 ac_cv_sizeof_unsigned___int128=16 ac_cv_sizeof_unsigned_long=8 ac_cv_sizeof_unsigned_long_long=8 ac_cv_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_type_socklen_t=yes ac_cv_var__etext=yes ac_cv_var_etext=yes ac_cv_working_alloca_h=yes acl_cv_hardcode_direct=no acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libext=a acl_cv_path_LD=/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=gcc3 am_cv_func_iconv=yes am_cv_langinfo_codeset=yes am_cv_lib_iconv=no am_cv_prog_cc_stdc= am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);' am_cv_proto_iconv_arg1= am_cv_val_LC_MESSAGES=yes ax_cv_PTHREAD_CLANG=no ax_cv_PTHREAD_JOINABLE_ATTR=PTHREAD_CREATE_JOINABLE ax_cv_PTHREAD_PRIO_INHERIT=yes ax_cv_PTHREAD_SPECIAL_FLAGS=no ax_cv_cxx_compile_cxx11=yes bfd_cv_have_sys_procfs_type_elf_fpregset_t=yes bfd_cv_have_sys_procfs_type_fpregset_t=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_c_long_double=yes gdb_cv_c_long_long=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_have_gnu_regex=no gdb_cv_have_makeinfo_click=yes gdb_cv_have_pt_getdbregs=no gdb_cv_have_pt_getxmmregs=no gdb_cv_have_ptrace_getfpxregs=yes gdb_cv_have_ptrace_getregs=yes gdb_cv_os_cygwin=no gdb_cv_prfpregset_t_broken=no gdb_cv_printf_has_decfloat=no gdb_cv_printf_has_long_double=no gdb_cv_printf_has_long_long=no gdb_cv_scanf_has_long_double=no gdb_cv_struct_lwp=no gdb_cv_struct_reg=no gdb_cv_var_elf=yes gdb_cv_var_macho=no gl_cv_func_gettimeofday_clobber=no gl_cv_func_strerror_0_works=yes gl_cv_func_working_strerror=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## linux-thread-db.o linux-nat.o nat/linux-osdata.o linux-fork.o \ nat/linux-personality.o nat/linux-namespaces.o riscv-linux-nat.o nat/riscv-linux-tdesc.o' nat/linux-procfs.o nat/linux-ptrace.o nat/linux-waitpid.o \ proc-service.o \ ALLOCA='' AR='/tmp/instance-0/output-1/host/bin/riscv64-linux-ar' AWK='gawk' CATALOGS='' CATOBJEXT='' CC='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' CODESIGN_CERT='' CONFIG_ALL='' CONFIG_CLEAN='' CONFIG_DEPS=' $(SUBDIR_MI_DEPS)' CONFIG_INSTALL='' CONFIG_LDFLAGS='' CONFIG_OBS=' $(SUBDIR_MI_OBS) python/python.o guile/guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o' CONFIG_SRCS=' $(SUBDIR_MI_SRCS) python/python.c guile/guile.c' CONFIG_UNINSTALL='' CPP='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc -E' CPPFLAGS='-I/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include' CTF_DEPS='../libctf/.libs/libctf.a' CXX='/tmp/instance-0/output-1/host/bin/riscv64-linux-g++' CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 ' CXX_DIALECT='' DATADIRNAME='' DEBUGDIR='${exec_prefix}/lib/debug' DEBUGINFOD_CFLAGS='' DEBUGINFOD_LIBS='' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='riscv64-buildroot-linux-musl-dlltool' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' ENABLE_CFLAGS=' $(SUBDIR_MI_CFLAGS)' ENABLE_LIBCTF='' EXEEXT='' GCORE_TRANSFORM_NAME='gcore' GDBTKLIBS='' GDBTK_CFLAGS='' GDBTK_SRC_DIR='' GDB_DATADIR='${datarootdir}/gdb' GDB_NM_FILE='config/nm-linux.h' GDB_TRANSFORM_NAME='gdb' GENCAT='' GMSGFMT='/tmp/instance-0/output-1/host/bin/msgfmt' GREP='/usr/bin/grep' GUILD='' GUILD_TARGET_FLAG='' GUILE_CPPFLAGS='' GUILE_LIBS='' GUI_CFLAGS_X='-I../../gdb/../libgui/src' HAVE_CXX11='1' HAVE_GUILE_FALSE='' HAVE_GUILE_TRUE='#' HAVE_LIBBABELTRACE='no' HAVE_LIBEXPAT='yes' HAVE_LIBIPT='no' HAVE_LIBLZMA='yes' HAVE_LIBMPFR='no' HAVE_LIBXXHASH='no' HAVE_NATIVE_GCORE_HOST='' HAVE_NATIVE_GCORE_TARGET='1' HAVE_PYTHON_FALSE='' HAVE_PYTHON_TRUE='#' INCINTL='' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INSTOBJEXT='' JIT_READER_DIR='${exec_prefix}/lib/gdb' LARGEFILE_CPPFLAGS='' LDFLAGS=' ' LIBBABELTRACE='' LIBCTF='../libctf/.libs/libctf.a' LIBEXPAT='/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libexpat.so -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' LIBGUI='../libgui/src/libgui.a' LIBICONV='' LIBINTL='' LIBINTL_DEP='' LIBIPT='' LIBLZMA='/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblzma.so -lpthread -Wl,-rpath -Wl,/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' LIBMPFR='' LIBOBJS='' LIBS='-lncursesw -lm ' LIBXXHASH='' LN_S='ln -s' LOADLIBES='-ldl $(RDYNAMIC)' LTLIBBABELTRACE='' LTLIBEXPAT='-L/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib -lexpat -R/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' LTLIBICONV='' LTLIBIPT='' LTLIBLZMA='-L/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib -llzma -lpthread -R/tmp/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib' LTLIBMPFR='' LTLIBOBJS='' LTLIBXXHASH='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='true --split-size=5000000' MAKEINFOFLAGS='' MAKEINFO_EXTRA_FLAGS=' -DHAVE_MAKEINFO_CLICK' MH_CFLAGS='' MIG='' NATDEPFILES='inf-ptrace.o fork-child.o nat/fork-inferior.o \ NAT_CDEPS='$(srcdir)/proc-service.list' NAT_FILE='config/nm-linux.h' NAT_GENERATED_FILES='' NM_H='nm.h' OBJEXT='o' PACKAGE='gdb' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKGVERSION='(GDB) ' PKG_CONFIG='/tmp/instance-0/output-1/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' POSUB='' PROFILE_CFLAGS='' PTHREAD_CC='/tmp/instance-0/output-1/host/bin/riscv64-linux-gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' PYTHON_CFLAGS='' PYTHON_CPPFLAGS='' PYTHON_LIBS='' RANLIB='/tmp/instance-0/output-1/host/bin/riscv64-linux-ranlib' RDYNAMIC='-Wl,--dynamic-list=$(srcdir)/proc-service.list' READLINE='$(READLINE_DIR)/libreadline.a' READLINE_CFLAGS='-I$(READLINE_SRC)/..' READLINE_DEPS='$(READLINE)' READLINE_TEXI_INCFLAG='-I $(READLINE_DIR)' REPORT_BUGS_TEXI='@uref{https://www.gnu.org/software/gdb/bugs/}' REPORT_BUGS_TO='' SED='/usr/bin/sed' SER_HARDWIRE='ser-base.o ser-unix.o ser-pipe.o ser-tcp.o ser-uds.o' SHELL='/bin/bash' SIM='' SIM_OBS='' SRCHIGH_CFLAGS='' SRCHIGH_LIBS='' STRIP='strip' SYSTEM_GDBINIT='' SYSTEM_GDBINIT_DIR='' TARGET_OBS=' riscv-tdep.o arch/riscv.o ravenscar-thread.o riscv-ravenscar-thread.o riscv-linux-tdep.o glibc-tdep.o linux-tdep.o solib-svr4.o symfile-mem.o linux-record.o' TARGET_PTR='unsigned long' TARGET_SYSTEM_ROOT='' TCL_BIN_DIR='' TCL_DEPS='' TCL_INCLUDE='' TCL_LIBRARY='' TCL_LIB_FILE='' TCL_LIB_FLAG='' TCL_LIB_SPEC='' TCL_PATCH_LEVEL='' TCL_SRC_DIR='' TCL_STUB_LIB_FILE='' TCL_STUB_LIB_FLAG='' TCL_STUB_LIB_SPEC='' TCL_VERSION='' TK_BIN_DIR='' TK_DEPS='' TK_INCLUDE='' TK_LIBRARY='' TK_LIB_FILE='' TK_LIB_FLAG='' TK_LIB_SPEC='' TK_SRC_DIR='' TK_STUB_LIB_FILE='' TK_STUB_LIB_FLAG='' TK_STUB_LIB_SPEC='' TK_VERSION='' TK_XINCLUDES='' USE_NLS='no' WARN_CFLAGS=' -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-variable -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized -Wno-mismatched-tags -Wsuggest-override -Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wdeprecated-copy -Wdeprecated-copy-dtor -Wredundant-move -Wmissing-declarations -Wstrict-null-sentinel -Wformat -Wformat-nonliteral' WERROR_CFLAGS='' WIN32LDAPP='' WIN32LIBS=' ' WINDRES='riscv64-buildroot-linux-musl-windres' XGETTEXT='/tmp/instance-0/output-1/host/bin/xgettext' XMKMF='' XM_CLIBS='' XSLTPROC='/usr/bin/xsltproc' X_CFLAGS='' X_LDFLAGS='' X_LIBS='' YACC='bison -y' YFLAGS='' ac_ct_CC='' ac_ct_CXX='' am__leading_dot='.' ax_pthread_config='' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='/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.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datadir}/locale' localstatedir='/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' pkg_config_prog_path='/tmp/instance-0/output-1/host/bin/pkg-config' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' python_prog_path='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs=' testsuite' sysconfdir='/etc' target='riscv64-buildroot-linux-musl' target_alias='riscv64-buildroot-linux-musl' target_cpu='riscv64' target_os='linux-musl' target_subdir='' target_vendor='buildroot' zlibdir='-L$(top_builddir)/../zlib' zlibinc='-I$(top_srcdir)/../zlib' ## ------------------- ## ## File substitutions. ## ## ------------------- ## nat_makefile_frag='/dev/null' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_DLFCN_H 1 #define HAVE_CXX11 1 #define PACKAGE "gdb" #define DEBUGDIR "/usr/lib/debug" #define DEBUGDIR_RELOCATABLE 1 #define BINDIR "/usr/bin" #define GDB_DATADIR "/usr/share/gdb" #define GDB_DATADIR_RELOCATABLE 1 #define AUTO_LOAD_DIR "$debugdir:$datadir/auto-load" #define AUTO_LOAD_SAFE_PATH "$debugdir:$datadir/auto-load" #define DEFAULT_BFD_ARCH bfd_riscv_arch #define DEFAULT_BFD_VEC riscv_elf64_vec #define HAVE__ETEXT 1 #define HAVE_ETEXT 1 #define PKGVERSION "(GDB) " #define REPORT_BUGS_TO "" #define HAVE_LIBM 1 #define HAVE_ICONV 1 #define ICONV_CONST #define SIZEOF_UNSIGNED_LONG_LONG 8 #define SIZEOF_UNSIGNED_LONG 8 #define SIZEOF_UNSIGNED___INT128 16 #define JIT_READER_DIR "/usr/lib/gdb" #define JIT_READER_DIR_RELOCATABLE 1 #define HAVE_LIBEXPAT 1 #define HAVE_XML_STOPPARSER 1 #define STDC_HEADERS 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_PTRACE_H 1 #define HAVE_SYS_REG_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_USER_H 1 #define HAVE_CURSES_H 1 #define HAVE_NCURSES_H 1 #define HAVE_TERM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_LONG_LONG 1 #define SIZEOF_LONG_LONG 8 #define HAVE_DECL_BASENAME 1 #define HAVE_DECL_FFS 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_STRTOL 1 #define HAVE_DECL_STRTOUL 1 #define HAVE_DECL_STRTOLL 1 #define HAVE_DECL_STRTOULL 1 #define HAVE_DECL_STRVERSCMP 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_LC_MESSAGES 1 #define HAVE_SOCKLEN_T 1 #define HAVE_GETUID 1 #define HAVE_GETGID 1 #define HAVE_PIPE 1 #define HAVE_PREAD 1 #define HAVE_PREAD64 1 #define HAVE_PWRITE 1 #define HAVE_RESIZE_TERM 1 #define HAVE_GETPGID 1 #define HAVE_SETSID 1 #define HAVE_SIGACTION 1 #define HAVE_SOCKETPAIR 1 #define HAVE_WBORDER 1 #define HAVE_WRESIZE 1 #define HAVE_SETLOCALE 1 #define HAVE_BTOWC 1 #define HAVE_SETRLIMIT 1 #define HAVE_GETRLIMIT 1 #define HAVE_POSIX_MADVISE 1 #define HAVE_WAITPID 1 #define HAVE_USE_DEFAULT_COLORS 1 #define HAVE_LANGINFO_CODESET 1 #define HAVE_STDLIB_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_PARAM_H 1 #define STDC_HEADERS 1 #define HAVE_ALLOCA_H 1 #define HAVE_ALLOCA 1 #define HAVE_LANGINFO_CODESET 1 #define HAVE_LINUX_PERF_EVENT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_WAIT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_DLFCN_H 1 #define HAVE_LINUX_ELF_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_FORK 1 #define HAVE_VFORK 1 #define HAVE_WORKING_VFORK 1 #define HAVE_WORKING_FORK 1 #define HAVE_GETRLIMIT 1 #define HAVE_PIPE 1 #define HAVE_PIPE2 1 #define HAVE_POLL 1 #define HAVE_SOCKETPAIR 1 #define HAVE_SIGACTION 1 #define HAVE_SBRK 1 #define HAVE_SETNS 1 #define HAVE_SIGALTSTACK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SETPGID 1 #define HAVE_SETPGRP 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETAUXVAL 1 #define HAVE_DECL_ADDR_NO_RANDOMIZE 1 #define HAVE_PERSONALITY 1 #define HAVE_DECL_STRSTR 1 #define HAVE_STRUCT_STAT_ST_BLOCKS 1 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 #define HAVE_PTHREAD_PRIO_INHERIT 1 #define HAVE_PTHREAD_SIGMASK 1 #define HAVE_PTHREAD_SETNAME_NP 1 #define CXX_STD_THREAD 1 #define HAVE_SIGSETJMP 1 #define _STRUCTURED_PROC 1 #define HAVE_SYS_PROCFS_H 1 #define HAVE_GREGSET_T 1 #define HAVE_FPREGSET_T 1 #define HAVE_PRGREGSET_T 1 #define HAVE_PRFPREGSET_T 1 #define HAVE_LWPID_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 SETPGRP_VOID 1 #define USE_INCLUDED_REGEX 1 #define HAVE_PTRACE_GETREGS 1 #define HAVE_PTRACE_GETFPXREGS 1 #define HAVE_LONG_DOUBLE 1 #define GDBINIT ".gdbinit" #define TARGET_SYSTEM_ROOT "" #define TARGET_SYSTEM_ROOT_RELOCATABLE 0 #define SYSTEM_GDBINIT "" #define SYSTEM_GDBINIT_RELOCATABLE 0 #define SYSTEM_GDBINIT_DIR "" #define SYSTEM_GDBINIT_DIR_RELOCATABLE 0 #define HAVE_ELF 1 #define HAVE_LIBLZMA 1 #define GDB_HOST_FLOAT_FORMAT 0 #define GDB_HOST_DOUBLE_FORMAT 0 #define GDB_HOST_LONG_DOUBLE_FORMAT 0 #define GDB_OSABI_DEFAULT GDB_OSABI_LINUX #define ENABLE_LIBCTF 1 #define GDB_NM_FILE "config/nm-linux.h" #define GDB_DEFAULT_HOST_CHARSET "UTF-8" configure: exit 0